You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jo...@sungard.com on 2012/01/24 19:36:49 UTC

Trouble with revert command

I am unable to get the svn revert command to accept just the changelist option and revert that changelist.
There is no example in the book on running revert with the changelist option.
I can't figure out what argument it is complaining about.

I run the following from my working copy.

gold:/home/dsi/jmf/dsiwork/13.006dev> svn revert --changelist WT1
svn: E205001: Try 'svn help' for more info
svn: E205001: Not enough arguments provided

when I add a path to the command I get nothing...

gold:/home/dsi/jmf/dsiwork/13.006dev> svn revert  --changelist WT1 /home/dsi/jmf/dsiwork/13.006dev
gold:/home/dsi/jmf/dsiwork/13.006dev>

here is what my working copy looks like
M       1099labels

--- Changelist 'WT1':
A       myNewFile.p
M       1099Trec
[cid:image001.gif@01CBCDBD.E3331580]<http://www.sungard.com/ten>
Joe Floeder| Consultant Architect | SunGard | Financial Systems |Brokerage & Clearance |InTrader | 601 Second Avenue South, Hopkins, MN 55343 |Tel 952.939.8418| joe.floeder@sungard.com |  www.sungard.com<http://www.sungard.com/>
Join SunGard's customers, partners and industry experts at www.sungard.com/ten<http://www.sungard.com/ten> to discuss how the need for more Transparency, Efficiency and Networks is changing our industry and to register for a city day event near you.
VIENNA HOUSTON FRANKFURT BEIJING HONG KONG NEW YORK LONDON SEOUL ZURICH MUMBAI JOHANNESBURG DUBAI SAO PAULO

CONFIDENTIALITY:  This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited.  If you receive this e-mail in error, please notify the sender and delete this e-mail from your system.


Re: Trouble with revert command

Posted by Philip Martin <ph...@wandisco.com>.
<Jo...@sungard.com> writes:

> I run the following from my working copy.
>
> gold:/home/dsi/jmf/dsiwork/13.006dev> svn revert --changelist WT1
> svn: E205001: Try 'svn help' for more info
> svn: E205001: Not enough arguments provided
>
> when I add a path to the command I get nothing...

Revert is non-recursive by default, if the path is not in the changelist
then the operation will have no effect.  Try

   svn revert --changelist WT1 -R .

-- 
Philip