diff fetch_command.py @ 118:a0401f6e14dd

fetch_command: ignore stray files in branches/ in non-diff mode
author Patrick Mezard <pmezard@gmail.com>
date Sat, 29 Nov 2008 11:25:01 -0600
parents e58c2f1de059
children ea65fe2b0856
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -424,7 +424,7 @@ def stupid_fetch_branchrev(svn, hg_edito
     callable to retrieve individual file information.
     """
     kind = svn.checkpath(branchpath, r.revnum)
-    if kind is None:
+    if kind != 'd':
         # Branch does not exist at this revision. Get parent revision and
         # remove everything.
         files = parentctx.manifest().keys()