Mercurial > hg
diff tests/test-encode @ 6094:3998c1b0828f
cat --decode: Drop short option, use opts.get() instead of opts[]
- hg archive --no-decode has no short option, too, and maybe both could use
-d in the future to select revisions by date.
- opts.get makes python scripts calling cat() happy, because they don't have
to pass the new option.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 14 Feb 2008 11:25:30 +0100 |
parents | f5b00b6e426a |
children | a6477aa893b8 |
line wrap: on
line diff
--- a/tests/test-encode Sat Feb 09 13:05:22 2008 -0500 +++ b/tests/test-encode Thu Feb 14 11:25:30 2008 +0100 @@ -35,8 +35,8 @@ echo %% check hg cat operation hg cat a.gz -hg cat -d a.gz | gunzip +hg cat --decode a.gz | gunzip mkdir subdir cd subdir hg -R .. cat ../a.gz -hg -R .. cat -d ../a.gz | gunzip +hg -R .. cat --decode ../a.gz | gunzip