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

Re: lost text-base file, how to resolve?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2007-03-13 23:07:11 CET

On 3/13/2007 5:13 PM, Gerben Wierda wrote:
> Hello,
>
> I keep a source tree under svn control synced between two machines
> with rsync (I keep the entire /usr/local rsynced and a svn-ed source
> tree is part of that). It now seems I have lost a couple of files
> in .svn/text-base, probably because I added and even modified these
> files on machine A and the rsynced machine B to A telling it to
> delete what was not there.
>
> Anyway, I have now the situation that the files *are* under SVN but I
> cannot commit new versions.
>
> Sending Resources-gwTeX.zip
> Transmitting file data .svn: Commit failed (details follow):
> svn: Can't open file '/usr/local/src/ii2/trunk/i-Packages/
> texlive/.svn/text-base/Resources-gwTeX.zip.svn-base': No such file or
> directory
> svn: Your commit message was left in a temporary file:
> svn: '/usr/local/src/ii2/trunk/i-Packages/texlive/svn-commit.2.tmp'
>
> What is the best way to fix this problem?

I'd check out a new copy elsewhere, copy your local mods into the new
WC, commit from there, and then move the whole tree into place. Working
copies don't care where they are, so this one won't know it was in
/tmp/WC instead of /usr/local.

Make sure you check out the same revision as you were working on,
otherwise you may end up accidentally reverting some changes you really
want.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 13 23:07:50 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.