##// END OF EJS Templates
ui: restrict length of autogenerated blocked tags...
Simon Farnsworth -
r31535:d0f95ecc default
parent child Browse files
Show More
@@ -1235,7 +1235,10 b' class ui(object):'
1235 object as exception.
1235 object as exception.
1236 '''
1236 '''
1237 if blockedtag is None:
1237 if blockedtag is None:
1238 blockedtag = 'unknown_system_' + cmd.translate(None, _keepalnum)
1238 # Long cmds tend to be because of an absolute path on cmd. Keep
1239 # the tail end instead
1240 cmdsuffix = cmd.translate(None, _keepalnum)[-85:]
1241 blockedtag = 'unknown_system_' + cmdsuffix
1239 out = self.fout
1242 out = self.fout
1240 if any(s[1] for s in self._bufferstates):
1243 if any(s[1] for s in self._bufferstates):
1241 out = self
1244 out = self
General Comments 0
You need to be logged in to leave comments. Login now