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

Re: svn copy - tags - parent dir and create paths

From: allan juul <lambretta_at_inet.uni2.dk>
Date: 2005-01-03 19:31:04 CET

Dale Worley wrote:
> -----Original Message-----
> From: allan juul [mailto:lambretta@inet.uni2.dk]
>
> to me it's very important that tagging [or
> branching for that matter] is just something you do (in a single
> command) and that's it. in out case Tagging will be done very very
> frequently and to ask people to create subdirectories (one by one)
> before they eventually can tag is simply too much hassle IMHO.
> ---------------------------------------------------------------------
>
> It seems like this would work on most versions of Unix:
>
> svn copy https://.../main
> https://.../tags/$(date --iso-8601=seconds).$USER.$$
>
> (Or "svn copy . [etc.]" if you want to copy from the WC to the tag.)
>
> It generates tag names that give the date and user, e.g.:
> 2005-01-03T11:47:42-0500.dworley.17230
>
> That doesn't guarantee absolute uniqueness of tag names, but I doubt you'll
> ever get a conflict. And the tags in their directory will sort in time
> order.

thanks for the suggestion. unfortunaetly we are on win32 (;

[i'm joining the tortoiseSVN mailinglist and ask the same questions
there as it (surprisngly to me) seems to be a problem in TortoiseSVN well]

./allan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 3 19:33:35 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.