Commits

Dan Villiom Podlaski Christiansen committed 3057324

Make links to revisins in hgweb repos actually work.

  • Participants
  • Parent commits 7046ca3

Comments (0)

Files changed (1)

File hgopenurl/__init__.py

         ui.note('assuming standard hgweb repository')
         url = path.rstrip('/')
         if rev:
-            path += '/rev/%s' % rev
+            url += '/rev/%s' % rev
     elif fallbackssh:
         raise util.Abort("don't know how to convert regular SSH repositories "
                          "into an web address")