Submitter | Sean Farley |
---|---|
Date | Dec. 21, 2012, 5:37 a.m. |
Message ID | <5c79792796ac3141f050.1356068274@laptop.local> |
Download | mbox | patch |
Permalink | /patch/237/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/templatefilters.py b/mercurial/templatefilters.py --- a/mercurial/templatefilters.py +++ b/mercurial/templatefilters.py @@ -303,10 +303,11 @@ def stringify(thing): """:stringify: Any type. Turns the value into text by converting values into text and concatenating them. """ + thing, label = delabelify(thing) if util.safehasattr(thing, '__iter__') and not isinstance(thing, str): return "".join([stringify(t) for t in thing if t is not None]) return str(thing) def strip(text):