Make debugging easier: rename the new entry back to "new" on failure
commitf972d78f17618c44566ca9803f478ebd49280e59
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 22 Jan 2009 05:50:16 +0000 (22 06:50 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 22 Jan 2009 05:52:24 +0000 (22 06:52 +0100)
treed3c7d8ee65e33ddb2de70df48e1338ab219c3ded
parent1bc8fbc1b23647c3ff435d39ab3900a935c1162b
Make debugging easier: rename the new entry back to "new" on failure

On failure (and during dry run), the new entry is not committed, but
a subsequent run will fail, because it is staged.  Instead, rename it
back to "new" for easy editing and debugging.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
upload.sh