equal
deleted
inserted
replaced
1911 |
1911 |
1912 def copydata(self, path): |
1912 def copydata(self, path): |
1913 if self.isdirty(path): |
1913 if self.isdirty(path): |
1914 return self._cache[path]['copied'] |
1914 return self._cache[path]['copied'] |
1915 else: |
1915 else: |
1916 raise error.ProgrammingError('copydata() called on clean context') |
1916 return None |
1917 |
1917 |
1918 def flags(self, path): |
1918 def flags(self, path): |
1919 if self.isdirty(path): |
1919 if self.isdirty(path): |
1920 if self._cache[path]['exists']: |
1920 if self._cache[path]['exists']: |
1921 return self._cache[path]['flags'] |
1921 return self._cache[path]['flags'] |