Commits

Peter Arrenbrecht committed 3417954

hg: use capable instead of capabilities

  • Participants
  • Parent commits 68d814a

Comments (0)

Files changed (1)

File mercurial/hg.py

 
             revs = None
             if rev:
-                if 'lookup' not in srcrepo.capabilities:
+                if not srcrepo.capable('lookup'):
                     raise util.Abort(_("src repository does not support "
                                        "revision lookup and so doesn't "
                                        "support clone by revision"))