Plugins/VcsPlugins/vcsMercurial/HgLogDialog.py

changeset 3284
8f7d97997243
parent 3268
8bfa66a9138a
child 3302
e92f0dd51979
equal deleted inserted replaced
3283:2079b76a738b 3284:8f7d97997243
434 except ValueError: 434 except ValueError:
435 key = "" 435 key = ""
436 value = line 436 value = line
437 if key == "change": 437 if key == "change":
438 self.endInitialText = True 438 self.endInitialText = True
439 if key in ("change", "branches", "tags", "parents", "user", 439 if key in ("change", "tags", "parents", "user", "date",
440 "date", "file_copies", "file_adds", "files_mods", 440 "file_copies", "file_adds", "files_mods", "file_dels",
441 "file_dels", "bookmarks", "phase"): 441 "bookmarks", "phase"):
442 self.lastLogEntry[key] = value.strip() 442 self.lastLogEntry[key] = value.strip()
443 elif key == "branches":
444 if value.strip():
445 self.lastLogEntry[key] = value.strip()
446 else:
447 self.lastLogEntry[key] = "default"
443 elif key == "description": 448 elif key == "description":
444 self.lastLogEntry[key] = [value.strip()] 449 self.lastLogEntry[key] = [value.strip()]
445 else: 450 else:
446 if self.endInitialText: 451 if self.endInitialText:
447 self.lastLogEntry["description"].append(value.strip()) 452 self.lastLogEntry["description"].append(value.strip())

eric ide

mercurial