Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

csinfo: always return None if it's invalid value

Changeset f33fa7544993

Parent 1249ed9c6e4d

by Yuki KODAMA

Changes to one file · Browse files at f33fa7544993 Showing diff from parent 1249ed9c6e4d Diff from another changeset...

 
255
256
257
258
 
259
260
261
 
270
271
272
273
 
274
275
276
 
255
256
257
 
258
259
260
261
 
270
271
272
 
273
274
275
276
@@ -255,7 +255,7 @@
  if dblist and value in [hglib.toutf(b.strip()) \   for b in dblist.split(',')]:   return None - return value + return None   elif item == 'rawtags':   value = [hglib.toutf(tag) for tag in ctx.tags()]   if len(value) == 0: @@ -270,7 +270,7 @@
  value = [tag for tag in value if tag not in htags]   if len(value) == 0:   return None - return value + return None   elif item == 'transplant':   extra = ctx.extra()   try: