Commits

Ezio Melotti  committed ebed4ec

Remove extra ")" that was causing an error with the "Create patch" button for remote repos.

  • Participants
  • Parent commits 1aa80c5

Comments (0)

Files changed (1)

File extensions/create_patch.py

     cwd = os.getcwd()
     os.chdir(base)
     try:
-    	repo0 = hg.repository(UI,base)
+        repo0 = hg.repository(UI,base)
         repo0.ui.quiet=True
         repo0.ui.pushbuffer()
         commands.pull(repo0.ui, repo0, quiet=True)
             raise NotChanged
         repo=bundlerepo.bundlerepository(UI, ".", bundle)
         repo.ui.pushbuffer()
-        old = 'max(ancestors(branch("%s")))-outgoing("%s"))' % (patchbranch, base)
+        old = 'max(ancestors(branch("%s"))-outgoing("%s"))' % (patchbranch, base)
         commands.diff(repo.ui, repo, rev=[old, patchbranch])
         result = repo.ui.popbuffer()
     finally: