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

Re: Updating already created tag

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-01-07 18:52:24 CET

Ramanathan Muthaiah wrote:
> Posting to the correct list. . .
> I could not find any clues in the SVN book, hence posting to this forum.
> Brief note on the requirement:
> 1. From working copy, commit all the files except one file "A"
> (probably forgot to include it)
> 2. Run svn copy /path/to/wc file:///path/to/repo/tag/TAG-NAME
> 3. commit the changes done to file "A"
> Now, how do I update the newly created tag "TAG-NAME" to include this
> change in file "A" as well as part of it.

The point of tag copies is that they are supposed to be snapshots
that are never changed. Also, when you copy from the working
copy, it takes the current state whether the changes have been
committed elsewhere or not so if file "A" is modified before
you make the tag, you will already have it. If you really need
to change the contents of a tag you can delete and recreate it
but this is a versioned operation and someone would be able to
find the old copy by its revision number or timestamp.

   Les Mikesell
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 7 18:53:16 2007

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.