I'm looking for a way to remove a directory from my working copy
without it causing svn diff to report changes.

I often use svn co and svn up with --depth files to checkout partial
pieces of a repository.

For example I have the following repository structure:
----trunk
  |------- folder1
  |------- folder2

To checkout trunk and folder 1 I would do:
svn checkout "file:///svn/project/tr...@head" -r HEAD
--ignore-externals --depth files
"/home/davey/ws/project_runtime/trunk3"
svn update "/home/davey/ws/project_runtime/trunk3/folder1" -r HEAD --depth files

This gives me a partial checkout of my repository. Most importantly
though, if I do an svn diff I do not see any changes.

Now sometimes I checkout everything, but then decide that I don't want
certain folders in my working copy. If I remove them using svn rm, and
then subsequently do an svn diff, I obviously see the deletion as a
change.

So I'm looking for a different command like svn rmlocal that would not
report this diff (essentially removing the deleted dir from the
.svn/entries). I can remove this data from the entries file, but it is
a pain. Is there an svn command that allows me to do this?

Thanks,
David

Reply via email to