Tom,
> -----Original Message-----
> From: THOMAS DAVID VAUGHAN [mailto:tom@vaughan.to]
> Sent: dinsdag 27 september 2005 3:41
> To: users@subversion.tigris.org
> Subject: Re: how to check-in to a deleted repository?
>
> On Mon, 2005-09-26 at 18:31 -0700, THOMAS DAVID VAUGHAN wrote:
> > On Mon, 2005-09-26 at 19:54 -0400, Christopher Ness wrote:
> > > On Mon, 2005-09-26 at 16:39 -0700, THOMAS DAVID VAUGHAN wrote:
> > > > i have a repository that i deleted. for example, let's say i did:
> > > >
> > > > svn co https://server/repos/foo/tag/1 foo-1
> > > > svn rm foo-1
> > > >
> > > > but then, later, i also did:
> > > >
> > > > svn co -r 263 https://server/repos/foo/tag/1 foo-1
> > > >
> > > > where 263 is the revision number just prior to the delete. and now
>
> > > > i've found that i need to update a file. but i can't because i've
> > > > deleted
> > >
> > > Do a reverse merge to bring back the deleted data on the server
> > > using the URL. Then update your working copy to the revision the
> > > reverse merge creates, make your changes and commit.
> > >
> > > svn merge -r264:263 https://server/repos/foo/tag/1
>
> i can't do that. because foo/tag/1 doesn't exist in revision number 264.
> that's what svn tells me.
>
> -tom
You should read the part about PEG revisions in the Subversion book:
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.pegrevs
The correct syntax to do the reverse merge in your case would be:
svn merge -r264:263 https://server/repos/foo/tag/1@263 .
Lieven.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 09:38:51 2005