gpg: drop unnecessary slicing of status array
The call to repo.status() does not request status for clean files, so
there is no reason to slice it out from the result. Leaving the tuple
untouched will simplify a future change.
--- a/hgext/gpg.py Thu Oct 02 18:39:57 2014 -0500
+++ b/hgext/gpg.py Wed Sep 24 12:57:39 2014 -0700
@@ -254,7 +254,7 @@
return
msigs = match.exact(repo.root, '', ['.hgsigs'])
- s = repo.status(match=msigs, unknown=True, ignored=True)[:6]
+ s = repo.status(match=msigs, unknown=True, ignored=True)
if util.any(s) and not opts["force"]:
raise util.Abort(_("working copy of .hgsigs is changed "
"(please commit .hgsigs manually "