Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-debugrename @ 4734:9ac493f12901
Abort if earlygetopt fails to detect an option.
Otherwise it could happen that a command is used on the wrong repository,
because abbreviations of --cwd or --repository were ignored.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 28 Jun 2007 16:03:45 +0200 |
parents | 5a088ac232e6 |
children |
line wrap: on
line source
#!/bin/sh hg init echo a > a hg ci -Am t hg mv a b hg ci -Am t1 hg debugrename b hg mv b a hg ci -Am t2 hg debugrename a echo % test with --rev hg debugrename --rev 1 b