# [PATCH 0/3] another series of cg-admin-rewritehist -r fixes

1 messages from 2006-06-11 to 2006-06-11. Participants: Yann Dirson.
Thread: https://gitlist.dev/t/4464

## Yann Dirson, 2006-06-11 10:12

Subject: [PATCH 0/3] another series of cg-admin-rewritehist -r fixes
Message-ID: <20060611101239.11876.42498.stgit@gandelf.nowhere.earth>
URL: https://gitlist.dev/e/20060611101239.11876.42498.stgit%40gandelf.nowhere.earth

```
The -r flag is a bit confusing, in that it expects the 1st revision de rewrite, and I
caught myself feeding it the last revision not to rewrite instead.  Patch #2 catches
this early.  Although Patch #2 should take care of most problems, a non-zero status
returned by a command not-last in a pipe is not caught, even under "set -e", so Patch #1
adds an additional safeguard.

Patch #3 corrects seeding of the rewrite map from -r arguments.

-- 
Yann Dirson    <ydirson@altern.org> |
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>

```
