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

RE: File stuck in the Beyond

From: Bob Archer <bob.archer_at_amsi.com>
Date: Thu, 4 Feb 2010 17:53:24 -0500

> Simon Large <simon.tortoisesvn@...> writes:
>
> >
> > On 4 February 2010 00:08, David <dwhite@...> wrote:
> > > Hello,
> > >
> > > There is a file in a subversion DB I thought wasn't required so I
> deleted
> it,
> >
> > How did you delete it? In explorer? TSVN->Delete, using the repo
> browser?
>
> Using the Delete command from the repo browser.
>
> > > but now I've found that it's necessary after all. I can't commit
> changes
> to it
> > > because TSVN says it can't find the file
> >
> > When do you get this error message?
>
> After clicking OK in the Commit dialog.
>
> > What is the error message?
>
> Square brackets below are mine.
>
> Error Commit failed (details follow):
> Error File not found: transaction '2206-1', path [path]
>
> > > but it won't give me the Add...
> > > command for it either. I've also tried "Revert changes from this
> revision"
> for
> > > the log entry for the delete operation, but that gives an error.
> >
> > What is the error message?
>
> This is after selecting the log for the file itself (after I'd restored it
> to
> my working folder) and then attempting the above Revert command:
> Command Merging revisions 2185-2184 of [path]
> Error [path] doesn't exist in revision 2185
>
> > > I just want the file back, whether by undoing the delete or adding it
> as a
> new
> > > file again. How do I do this?
> >
> > Give us a bit more information and maybe we can help. Just saying "it
> > gives me an error" is no use to anyone.
>
> Well, I thought that deleting a file and restoring it would be reasonably
> common and that I just didn't know how to do it.
>
> This might or might not be relevant, but if I select Revert... on a later
> version of the file in the working directory than the one I deleted, it
> replaces it with the version I deleted.

If you want to access a path that is no longer in head you have to specify a Peg Revision. I'm not quite sure how you would do that in T-SVN. On the comand line you would do something like:

svn merge r:2345 ^/MyRepo/Project/DeletePath_at_2345

http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.pegrevs

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2445010

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-04 23:52:52 CET

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

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