diff mercurial/context.py @ 17055:8b7cd9a998f0

copies: re-include root directory in directory rename detection (issue3511)
author Matt Mackall <mpm@selenic.com>
date Wed, 27 Jun 2012 13:41:04 -0500
parents 1093ad1e8903
children 75f4180509a4
line wrap: on
line diff
--- a/mercurial/context.py	Mon Jun 25 15:14:05 2012 -0700
+++ b/mercurial/context.py	Wed Jun 27 13:41:04 2012 -0500
@@ -1054,7 +1054,7 @@
                 wlock.release()
 
     def dirs(self):
-        return self._repo.dirstate.dirs()
+        return set(self._repo.dirstate.dirs())
 
 class workingfilectx(filectx):
     """A workingfilectx object makes access to data related to a particular