3 A tool to store the patch data from a currently uncommitted repository. The
4 intended workflow this tool is meant to be used in involves checking out and
5 working from the /tmp/ directory. This is a great place to work on projects,
6 but if you hold to strict rule of successful, working code commits, you will
7 eventually come to a point where you can't commit at the end of the day but
8 don't want to risk losing your work over night if power were to go out and your
9 machine were to shut off.
11 With this tool, you can simply run it on a given repository, providing any
12 additional data to specify what to patch and what to label it, etc, and it will
13 record the current diff value in a predetermined place in order to be restored
14 again in the morning if the work is lost.
16 Consider this a backup of your daily changes in the event that you cannot
17 commit to the repository.
21 $ storepatch . -l[working_dir|../working_dir] -s[svn|git]
23 And to restore a patch in the case that you need to:
25 $ restorepatch . -l[working_dir|../working_dir] -s[svn|git]
27 With the same options as you provided for storepatch.
29 = Copyright and License
31 Copyright (c) 2007 Matt Todd <http://purl.org/net/maraby>.
33 Permission is hereby granted, free of charge, to any person obtaining a copy
34 of this software and associated documentation files (the "Software"), to deal
35 in the Software without restriction, including without limitation the rights
36 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37 copies of the Software, and to permit persons to whom the Software is
38 furnished to do so, subject to the following conditions:
40 The above copyright notice and this permission notice shall be included in
41 all copies or substantial portions of the Software.
43 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
46 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
47 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
48 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN