Commits

Dan Villiom Podlaski Christiansen committed 3057324

Make links to revisins in hgweb repos actually work.

Comments (0)

Files changed (1)

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")