##// END OF EJS Templates
make identify an optionalrepo command...
Alexis S. L. Carvalho -
r5330:4528858e default
parent child Browse files
Show More
@@ -1489,6 +1489,10 b' def identify(ui, repo, source=None,'
1489 1489 name for non-default branches.
1490 1490 """
1491 1491
1492 if not repo and not source:
1493 raise util.Abort(_("There is no Mercurial repository here "
1494 "(.hg not found)"))
1495
1492 1496 hexfunc = ui.debugflag and hex or short
1493 1497 default = not (num or id or branch or tags)
1494 1498 output = []
@@ -3155,7 +3159,7 b' table = {'
3155 3159
3156 3160 norepo = ("clone init version help debugancestor debugcomplete debugdata"
3157 3161 " debugindex debugindexdot debugdate debuginstall")
3158 optionalrepo = ("paths serve showconfig")
3162 optionalrepo = ("identify paths serve showconfig")
3159 3163
3160 3164 def dispatch(args):
3161 3165 try:
General Comments 0
You need to be logged in to leave comments. Login now