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

Re: Undo "svn add" before "svn commit"

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-04-09 17:35:44 CEST

On 4/9/07, Jakob Buchgraber <jakob.buchgraber@googlemail.com> wrote:
> Mark Phippard wrote:
> > On 4/9/07, Jakob Buchgraber <jakob.buchgraber@googlemail.com> wrote:
> >> Hey!
> >>
> >> How can I undo a svn add before committing?
> >>
> >> e.g.
> >>
> >> $ svn add file.py
> >> $ svn add file2.py
> >> # now I'd like to remove file.py before commiting
> >> # How can I do that?
> >>
> >> svn commit -m "asdf"
> >
> > svn revert file.py
> >
> I tried it, didn't work for me tough. I'll try it using the cli tool,
> maybe it's a bug in my IDE.

OK, note that revert will not remove the file. It will only
"unschedule" it for addition on commit. Basically the file goes back
to being unversioned.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 9 17:36:06 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.