You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by solo turn <so...@yahoo.com> on 2003/06/19 18:23:19 UTC

svn revert problem ...

there seems to be a svn revert problem:

# mkdir ts; touch ts/bla ts/bli ts/blu
# mkdir ts1; touch ts1/bla ts1/bli ts1/blu
# cp -r ts1 ts
# svn add *
# svn revert *
svn: Working copy not locked
svn: directory not locked (ts/ts1)
# svn --version
svn, version 0.24.1 (r6249)
   compiled Jun 16 2003, 23:40:13


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn revert problem ...

Posted by cm...@collab.net.
Philip Martin <ph...@codematters.co.uk> writes:

> solo turn <so...@yahoo.com> writes:
> 
> > # mkdir ts; touch ts/bla ts/bli ts/blu
> > # mkdir ts1; touch ts1/bla ts1/bli ts1/blu
> > # cp -r ts1 ts
> > # svn add *
> > # svn revert *
> > svn: Working copy not locked
> > svn: directory not locked (ts/ts1)
> 
> You have asked for a non-recursive revert of a schedule-add directory
> with schedule-add children.  What should revert do?

Well, it should give a more useful message, dontcha think? :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn revert problem ...

Posted by solo turn <so...@yahoo.com>.
aargh, again the -R s..t. sorry.

but anyway, i think the behaviour is not correct, or very confusing:
> > # svn revert *
> > svn: Working copy not locked
> > svn: directory not locked (ts/ts1)
# svn st
?      ts
A      ts1
A      ts1/bla
A      ts1/bli
A      ts1/blu
$ svn add ts
svn: warning: 'ts' is already under revision control
$ svn revert -R ts
$ svn st
?      ts
A      ts1
A      ts1/bla
A      ts1/bli
A      ts1/blu

$ svn add ts
(it works again).


--- Philip Martin <ph...@codematters.co.uk> wrote:
> solo turn <so...@yahoo.com> writes:
> 
> > # mkdir ts; touch ts/bla ts/bli ts/blu
> > # mkdir ts1; touch ts1/bla ts1/bli ts1/blu
> > # cp -r ts1 tsrt@mozart:/mnt/hdb2/home/rt/wc
> > # svn add *
> > # svn revert *
> > svn: Working copy not locked
> > svn: directory not locked (ts/ts1)
> 
> You have asked for a non-recursive revert of a schedule-add directory
> with schedule-add children.  What should revert do?
> 
> -- 
> Philip Martin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn revert problem ...

Posted by Philip Martin <ph...@codematters.co.uk>.
solo turn <so...@yahoo.com> writes:

> # mkdir ts; touch ts/bla ts/bli ts/blu
> # mkdir ts1; touch ts1/bla ts1/bli ts1/blu
> # cp -r ts1 ts
> # svn add *
> # svn revert *
> svn: Working copy not locked
> svn: directory not locked (ts/ts1)

You have asked for a non-recursive revert of a schedule-add directory
with schedule-add children.  What should revert do?

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org