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

Re: cas problem faq a

From: Carl Karsten <carl_at_personnelware.com>
Date: 2004-09-23 12:43:23 CEST

> >
> > I have hooked in check-case-insensitive.pl and that takes care of keeping
> > the
> > server out of trouble, but the client still needs to be cleaned up, and I
> > am
> > not happy with my current steps. It seems that we need an un-add command
> > to
> > pull a change that the server is rejecting, but without whacking the local
> > copy.
>
> Does "svn revert" work?

Nope. and I am wondering if something isn't wrong here: I expected revert to
undo the change (adding "y" to foo.txt) but it did not. Can someone explain
what's going on here?

D:\temp\TestProj2>svn commit -m "trying to send FOO"
Adding FOO.TXT
Sending foo.txt
Transmitting file data ..svn: Commit failed (details follow):
svn: 'pre-commit' hook failed with error output:

File name case conflict found:

  FOO.TXT already exists as foo.txt

D:\temp\TestProj2>type foo.txt
x
y

D:\temp\TestProj2>svn revert FOO.TXT
Reverted 'FOO.TXT'

D:\temp\TestProj2>svn revert foo.txt
svn: Cannot revert: 'FOO.TXT' is not under version control

D:\temp\TestProj2>type foo.txt
x
y

D:\temp\TestProj2>svn commit -m "new foo.txt"
Sending foo.txt
Transmitting file data .svn: Commit failed (details follow):
svn: Can't open file 'D:/temp/TestProj2/.svn/text-base/foo.txt.svn-base': The sy
stem cannot find the file specified.

D:\temp\TestProj2>

Carl Karsen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 23 12:41:48 2004

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