SVN
Snippets
Diff only properties of a file
| PowerShell | |
|---|---|
Show working copy edits
| Bash | |
|---|---|
Delete last revision
This can be used, for example, to fix a broken repo.
In the example below, r385 of repo my-repo will be used.
1. create new repo
| Bash | |
|---|---|
2. dump old repo INTO new repo
| Bash | |
|---|---|
OR, if it hangs, try this instead
| Bash | |
|---|---|
If also this errors out, you might have to create an empty pre-revision repository hook (or with "exit 0" content):
OR, as a last try, dump to a file (> x.dump) THEN load it separately; pay attention to powershell fking up line endings, both in export and import; use cmd instead.
3. (maybe not necessary): set new repo UUID equal to old repo
| Bash | |
|---|---|
OR run svnadmin info my-repo and take note of uuid, then run svnadmin setuuid my-repo-TMP <repo-UUID-here>.