Am 25.08.2011 17:19, schrieb Andreas Schneider: > 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.
If you don't use TortoiseSVN I guess it's shouldn't be to hard to feed sed with svn st output to remove untracked files. Why should svn do this if a sed one liner can do this ;)? > >> Then use the<target_dir> as a "clean" directory. But yes, SVN still >> sucks big time compared to Mercurial or Git. > > Oh yes. /signed ;-) > So they got finally proper cherry pick tracking and blocking ;)? -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
