RE: Automate backup of working copy
From: Mark Irving <mark_at_irving74.plus.com>
Date: Wed, 14 Sep 2016 06:29:27 -0700 (PDT)
David Balažic comments
> Sometimes developers leave uncommitted files in their WC when they leave at the end of the day.
I use command-line "svn diff > backup-file-path.patch" (with the backup file path name on a separate drive). That saves the edits in my working copy, including any new files provided I've remembered to svn add them. The command is light-weight enough to run several times a day if feeling nervous.
It's not perfect, but it saves 90% of the effort needed to re-create work after a working copy loss. Set up a new working copy and use TortoiseSVN to apply the patch from the backup drive. This doesn't cover property or significant tree-structure edits very well, but it copes all right with text edits and additions.
- Mark Irving
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.