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

Re: Moving a file add to a particular revision?

From: Fabian Cenedese <Cenedese_at_indel.ch>
Date: 2006-04-25 13:06:06 CEST

At 12:53 25.04.2006 +0200, Ryan Schmidt wrote:
>On Apr 25, 2006, at 10:38, Steinar Bang wrote:
>
>>I forgot to add a file when I checked in a big change containing a lot
>>of file.
>>
>>I added it two revisions later, when I discovered it, and I added it
>>with the same commit message as the revision I wish it was added in
>>(habit from CVS).
>>
>>Is there a way to move it to revision 93 when it was actually added on
>>revision 95?
>
>No, that doesn't make sense because in Subversion, the repository
>revision is merely "the number of changes which have occurred in the
>repository." In revision 93, you changed some files. In revision 95,
>you added a file. And that's fine. Anyone who happened to get
>revision 93 will have something that's incomplete, and so they should
>simply update their working copy to get revision 95 in which the
>missing file is now present.

If you still want to have all additions in one revision you can remove
all files again (rev 96) and then add them again together with the
missing file (rev 97). So you can record rev 97 as the one where
the new files were added. Still, shouldn't matter if it's 97 or 95...

bye Fabi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 25 13:06:41 2006

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.