diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2010-07-11 19:08:53 +0530 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2010-07-11 21:01:22 +0530 |
commit | 2a7a37ff0f62f5dc06acf95d8084cd0521d6a651 (patch) | |
tree | d81e5473c68ec6945574a240d0f2ca7d0d168a43 /src/CommandLineParser.h | |
parent | c0bc64179f96b5d2e13a905f1f6867cce3ac9558 (diff) | |
download | svn2git-2a7a37ff0f62f5dc06acf95d8084cd0521d6a651.tar svn2git-2a7a37ff0f62f5dc06acf95d8084cd0521d6a651.tar.gz svn2git-2a7a37ff0f62f5dc06acf95d8084cd0521d6a651.tar.bz2 svn2git-2a7a37ff0f62f5dc06acf95d8084cd0521d6a651.tar.xz svn2git-2a7a37ff0f62f5dc06acf95d8084cd0521d6a651.zip |
Make error handling of --incremental and --resume-from idempotent
When --resume-from failed in incremental mode, the log files that detected
the error condition were truncated. So, if the same command line was executed
again, the invocation would go through.
We now restore the log files from backup when we detect we're going to fail.
The restored log files may not all be the same as we originally started with,
but we only truncate information that would anyway be truncated on the
next successful run.
Diffstat (limited to 'src/CommandLineParser.h')
0 files changed, 0 insertions, 0 deletions