Changeset 2603a61c25c7…
Parent 27f0cd47bde3…
by
Changes to one file · Browse files at 2603a61c25c7 Showing diff from parent 27f0cd47bde3 Diff from another changeset...
@@ -138,7 +138,10 @@ return None
return hglib.tounicode(value)[:80]
elif item == 'user':
- return hglib.tounicode(hglib.user(ctx))
+ user = hglib.user(ctx)
+ if user:
+ return hglib.tounicode(user)
+ return None
elif item == 'shortuser':
return hglib.tounicode(hglib.username(hglib.user(ctx)))
elif item == 'dateage':
|
Loading...