Atomic check-in / "build" number

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Atomic check-in / "build" number

Post by tomt84 » Thu Mar 15, 2007 10:22 am

Hiya

I know how to get individual file version numbers in to .cs files, eg

Code: Select all

/* $Author: tf $   
 * $Archive: (whatever) $
 * $Revision: 38 $
 * $Modtime: 2007-02-27 12:56:54+00:00 $ 
 */
However, is there any way I can get a number that refers to the state of the repository at any particular moment in time? Ie a number that refers to a certain set of version numbers of all the different files?

Ideally I'll be able to fetch that in code so that it can be used inside the program itself, eg in a help->about dialogue.

That's worded terribly I know but it's nearly the end of the week, forgive me!

Thanks
Tom Fanning

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Mar 15, 2007 11:07 am

However, is there any way I can get a number that refers to the state of the repository at any particular moment in time? Ie a number that refers to a certain set of version numbers of all the different files?
Sounds like you need the folder version at a particular point in time. While you can get this from a History query by version, there's no support for folder version in keyword expansion.
Linda Bauer
SourceGear
Technical Support Manager

tomt84
Posts: 109
Joined: Tue Dec 20, 2005 4:44 am
Location: Manchester

Post by tomt84 » Thu Mar 15, 2007 11:08 am

Any chance of a feature request please? Can't be too hard to implement.

Thanks.
Tom Fanning

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Mar 15, 2007 2:59 pm

I'll add a feature request for that.
Linda Bauer
SourceGear
Technical Support Manager

Locked