Submitter | Lucas Moscovicz |
---|---|
Date | Feb. 7, 2014, 2:55 a.m. |
Message ID | <3ab8d986e51808fc3e56.1391741714@dev1037.prn2.facebook.com> |
Download | mbox | patch |
Permalink | /patch/3499/ |
State | Accepted |
Commit | 827561a99569f9a597c8f81be915a46e6e0c043a |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -2055,5 +2055,10 @@ x = x.set() return baseset([y for y in s if y in x]) + def __add__(self, x): + s = self.set() + l = [r for r in x if r not in s] + return baseset(list(self) + l) + # tell hggettext to extract docstrings from these functions: i18nfunctions = symbols.values()