Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. diff -r fd5247a88e63 mercurial/context.py
  2. --- a/mercurial/context.py Tue Nov 11 20:32:10 2014 -0800
  3. +++ b/mercurial/context.py Wed Nov 26 16:43:34 2014 -0600
  4. @@ -1037,15 +1037,16 @@
  5. def _manifest(self):
  6. """generate a manifest corresponding to the values in self._status"""
  7.  
  8. - man = self._parents[0].manifest().copy()
  9. + man1 = self._parents[0].manifest()
  10. + man = man1.copy()
  11. if len(self._parents) > 1:
  12. man2 = self.p2().manifest()
  13. def getman(f):
  14. - if f in man:
  15. - return man
  16. + if f in man1:
  17. + return man1
  18. return man2
  19. else:
  20. - getman = lambda f: man
  21. + getman = lambda f: man1
  22.  
  23. copied = self._repo.dirstate.copies()
  24. ff = self._flagfunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement