[cvsnt] Replacement for 'commit -r 2.0'?

Glen Starrett glen.starrett at march-hare.com
Sat Aug 12 16:51:14 BST 2006


David Somers wrote:
> Tony Hoyle wrote:
> 
>>If you want to mirror a repository then fine but what has that got to do
>>with the revision number?
> 
> 
> If you want to mirror a repository *exactly*,  but the repository itself is
> not available (either via rsync or as a tarball), then the only way to
> achieve this is by exporting files by specific revision numbers then
> committing them into your mirror repository using the -r flag to explicitly
> set the revision to that which was exported. Its an edge case, and IMO
> about the only time you are justified in setting revision numbers.

Even then, it's still not exact -- you don't have the same author, 
commit date, comments, mergepoints, interim revisions, etc.



-- 
Glen Starrett


More information about the cvsnt mailing list