hgext/graphlog.py
branchstable
changeset 11776 13921a1af02b
parent 11448 25430ff23cfa
child 12579 aa1faedeac5a
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):