[Adium-devl] Version Control - To change or not to change? THAT is the question!

Evan Schoenberg evan.s at dreskin.net
Wed Jan 2 18:07:24 UTC 2008


On Jan 2, 2008, at 11:56 AM, Peter Hosey wrote:

> On Jan 02, 2008, at 09:03:02, Ofri Wolfus wrote:
>> I believe any DVCS can have svn-style rev numbers using commit hook  
>> to generate them.
>
That's brilliant, Ofri.

> But would we be able to do something like $DVCS diff -r42:43?

It would be $DVCS diff -r 42 -r 43 more likely (diff revision with tag  
'42' to revision with tag '43) but the idea remains the same.  Tags  
should be automatically expanded to their respective version numbers.

The number tag wouldn't exist until the changes had been pushed to the  
server, since a single place needs to be responsible for generating  
them... so the one caveat would be that you can't do that form of diff  
for commits which have been made locally but not pushed, and you'd  
need to pull from the server after pushing for the tags to be available.

-Evan




More information about the devel mailing list