PDA

View Full Version : Visual Source Safe History command


nancy.bufkin
06-24-2004, 01:32 PM
I am trying to show the history of the files in a VSS database since a Label. The sample code in SourceSafe.bld uses the History command with the label in in the "Version to operate on field"

When I do this it lists a complete history of the files, it does not limit the history since the last label.

What am I doing wrong.

Thanks in advance!

kevina
06-24-2004, 02:39 PM
The sourcesafe.bld sample does what you are asking for. You can verify that by removing the Label specified in the final History step and it will then show the Initial Add history and other history prior to the "First Label" label (all history without filtering). Also you get this same behaviour if you neglect to add the ~ (tilde) prior to the L (which is used to specify a range).

Or are you trying to exclude the label that you are specifying (ie. show everything after the specified label, not including the specified label)? I don't believe there is a way to do that...

nancy.bufkin
06-25-2004, 07:45 AM
Thank you - Your suggestion worked! I was not including the ~ before the label.

Thanks again