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

Re: The unadd, undelete methods and the client README.

From: <cmpilato_at_collab.net>
Date: 2001-09-17 22:26:48 CEST

Mo DeJong <supermo@bayarea.net> writes:

> Yes, but by the same token you could just say that these commands
> just add or delete a file to the WC.

That's fair. I suppose it all depends on your perspective.

> That certainly sounds like something revert should do. That would
> provide the current undelete functionality but it would not give us
> the ability to do a `snv undelete dir` on a directory delete that
> has already been committed.

Dude, that deleted dir is in revision history. Now, I don't know how
easy/hard it would be resurrect that directory *and preserve its
versioned history*, but simply recreating it is a one-line shell
command (up'ing to an old version, stripping SVN/ subdirs, add
--recursing that bad boy, and committing). And I think I just saw
someone mail about `svn merge', which is certainly the way to go with
this.

If `revert' got smarter and `unadd' and `undelete' could die, I
wouldn't lose a wink of sleep over that change. :-)

---------------------------------------------------------------------
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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.