Trouble with revert command

338 views
Skip to first unread message

Joe.F...@sungard.com

unread,
Jan 24, 2012, 1:36:49 PM1/24/12
to us...@subversion.apache.org

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

Joe Floeder| Consultant Architect | SunGard | Financial Systems |Brokerage & Clearance |InTrader | 601 Second Avenue South, Hopkins, MN 55343 |Tel 952.939.8418| joe.f...@sungard.com |  www.sungard.com

Join SunGard's customers, partners and industry experts at 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.

 

Philip Martin

unread,
Jan 25, 2012, 6:21:26 AM1/25/12
to Joe.F...@sungard.com, us...@subversion.apache.org
<Joe.F...@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

Reply all
Reply to author
Forward
0 new messages