Submitter | Siddharth Agarwal |
---|---|
Date | Nov. 16, 2015, 11:46 p.m. |
Message ID | <7040a88af48337c46394.1447717568@dev666.prn1.facebook.com> |
Download | mbox | patch |
Permalink | /patch/11417/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -747,6 +747,13 @@ class basefilectx(object): def islink(self): return 'l' in self.flags() + def isabsent(self): + """whether this filectx represents a file not in self._changectx + + This is mainly for merge code to detect change/delete conflicts. This is + expected to be True for all subclasses of basectx.""" + return False + _customcmp = False def cmp(self, fctx): """compare with other file context