[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating file versions from 1.x to 2.x

From: Laird Nelson
Subject: Re: Updating file versions from 1.x to 2.x
Date: Fri, 03 Nov 2000 14:28:30 -0500

Michael Bailey wrote:
> I've been asked to update file versions for all files on a branch to 2.0
> Although I realise this is not the cvs way, would it be A Bad Thing?

{sigh} It's a shame you're dealing with a boss who most likely has only
ever used or heard of SCCS, which doesn't have labeling/tagging
facilities, and is hence usually the culprit for people's wanting to
change opaque revision numbers to 2.0.  Oh well.

It shouldn't be a bad thing.  The command we had to use around here
(when we were working with just such a boss) was something involving cvs
commit -r2.0 -f *.yourfileshere in each directory.  This is always a
sign that someone is ordering you to do something that they don't
understand, but it works.

(Far saner, just so I say it and get it out of my system, would be to do

  cd /your/sandbox
  cvs update -d -P -A

...and then if you ever need to get a file corresponding to that label,
you'd do this:

  cd /your/sandbox
  cvs update -r A_LABEL_THAT_MAKES_SENSE theFile.txt

This is usually the only use case that your modern version control
system ignorant manager is trying to accomplish, and so upping
everything to revision 2.0 is the wrong way to go, as you indicated you


W: address@hidden / P: address@hidden
Good, cheap, fast: pick two.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]