Commits

Remy Blank committed 50736d8

Adapted to Mercurial API change ([hg:a67e866f46f9]).

  • Participants
  • Parent commits 959f2bf

Comments (0)

Files changed (1)

File SvnBranch.py

     wctx = repo[None]
 
     # Remove entries that are in HG but not in SVN
-    wctx.remove(repo[None].deleted())
+    deleted = wctx.deleted()
+    if hasattr(wctx, 'remove'):
+        wctx.remove(deleted)
+    else:
+        wctx.forget(deleted)
     
     # Add entries that are in SVN but not in HG
     paths = []