1

We committed some files in the /foo path. Now we want to start the /foo history from scratch. How do we delete /foo and its history from svn? It is possible?

Shep
  • 7,990
  • 8
  • 49
  • 71
tapioco123
  • 3,235
  • 10
  • 36
  • 42

2 Answers2

4

This is not made easy by SVN, as it is designed to preserve data at all costs, not destroy it. There is no harm in leaving foo's history in the repository.

You can, however, do this using svnadmin dump. You will find some details here:

Subversion Obliterate feature

Community
  • 1
  • 1
D'Arcy Rittich
  • 167,292
  • 40
  • 290
  • 283
1

If you delete the foo path, and create it later, it will not show the history of the old foo. But the history of the old foo path will remain, as answered by RedFilter.

Sander Rijken
  • 21,376
  • 3
  • 61
  • 85