On 25.08.2011 17:09, Graeme Geldenhuys wrote:
On 08/25/2011 05:06 PM, Andreas Schneider wrote:

Although slightly off-topic, but SVN's revert is not really clean. It
reverts files it knows, but it doesn't remove unknown files. I'm not
aware of an SVN equivalent of Mercurial's purge (for example).
So yes, a clean checkout CAN make sense sometimes.

svn revert .
svn export<target_dir>

Still not the same. Export would also remove .svn metadata, which is not what I (would) want. What I want is to remove all files that aren't tracked by SVN - i.e. get the working copy to be EXACTLY what a fresh checkout would be; no more, no less.

Then use the<target_dir>  as a "clean" directory. But yes, SVN still
sucks big time compared to Mercurial or Git.

Oh yes. /signed ;-)


--
Best Regards,
Andreas Schneider

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to