[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Newbie question about tagging

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2005-11-14 06:48:17 CET

Quoth Kevin Hung <mailto:cykhung@yahoo.com>:
> But then what if I have a lot of directories and
> files? I know that I can "copy" recursively from the
> top-level directory and do the copy based on the
> version number of the top-level directory. But how do
> I know the relationship between the version number of
> the top-level directory and the version number of any
> particular file?

Do the copy based on the highest-numbered revision that you want to copy
(which will be the file's revision, not the top-level folder's
revision).

So if you've done a commit and the files involved in the commit got
listed as revision 67, then copy from the root dir with -r67. It
doesn't matter what revision the top-level dir says -- that's the latest
revision that the folder itself got changed, which usually won't
correspond with the changes you just made. And the next commit that
anyone makes, no matter where in the repository they make it, will be
assigned the next revision number (68), which means that you'll exclude
it from your copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 14 06:50:08 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.