> From: Sander Striker [mailto:striker@apache.org]
> Sent: 17 September 2001 20:32
> > -----Original Message-----
> > From: Mo DeJong [mailto:supermo@bayarea.net]
> > Sent: 17 September 2001 20:29
>
> [...]
> > I tried to come up with a good reason to include the unadd and undelete
> > subcommands. I could not think of anything that could not be done
> > using add/delete before doing a commit. One thing about the undelete
> > method that did seem interesting was the possibility of using it after
> > a commit that removes a directory.
> >
> > % mkdir newdir
> > % svn add newdir
> > % touch foo.c
> > % svn add foo.c
> > % cd ..
> > % svn commit newdir -m "added newdir"
> >
> > % svn delete newdir
> > % svn commit -m "deleted newdir"
> >
> > % svn undelete newdir
> > % svn commit -m "woops, I did not want to delete newdir"
> >
> > I looked around in svn_wc_undelete but it does not look like
> this is what
> > it was trying to do. Does this seem like a reasonable use case? Is there
> > some other way a user could resurrect a directory that had been deleted?
> > If not, perhaps the undelete subcommand should be retained.
>
> What about:
>
> $ svn revert newdir -rev (current_rev - 1)
>
> ?? Ofcourse I could be way off...
Yes, I am. svn revert seems to be a local command only. Oh well, it felt
intuitive :)
Sander
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:41 2006