Mercurial > hg
comparison hgext/graphlog.py @ 11776:13921a1af02b stable
graphlog: mark --branch as incompatible with --graph
The --only-branch option was deprecated in 0d5f139b23c1 and --branch
was added instead. But the graphlog extension was not updated to match
the change.
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Wed, 11 Aug 2010 12:19:01 +0200 |
parents | 25430ff23cfa |
children | aa1faedeac5a |
comparison
equal
deleted
inserted
replaced
11772:423ece53380e | 11776:13921a1af02b |
---|---|
215 else: | 215 else: |
216 return (len(repo) - 1, 0) | 216 return (len(repo) - 1, 0) |
217 | 217 |
218 def check_unsupported_flags(opts): | 218 def check_unsupported_flags(opts): |
219 for op in ["follow", "follow_first", "date", "copies", "keyword", "remove", | 219 for op in ["follow", "follow_first", "date", "copies", "keyword", "remove", |
220 "only_merges", "user", "only_branch", "prune", "newest_first", | 220 "only_merges", "user", "branch", "only_branch", "prune", |
221 "no_merges", "include", "exclude"]: | 221 "newest_first", "no_merges", "include", "exclude"]: |
222 if op in opts and opts[op]: | 222 if op in opts and opts[op]: |
223 raise util.Abort(_("--graph option is incompatible with --%s") | 223 raise util.Abort(_("--graph option is incompatible with --%s") |
224 % op.replace("_", "-")) | 224 % op.replace("_", "-")) |
225 | 225 |
226 def generate(ui, dag, displayer, showparents, edgefn): | 226 def generate(ui, dag, displayer, showparents, edgefn): |