Changeset 2c31dd2ec419…
Parent 0ca4ab648cc5…
by
Changes to 2 files · Browse files at 2c31dd2ec419 Showing diff from parent 0ca4ab648cc5 Diff from another changeset...
@@ -685,7 +685,7 @@ ('', 'all', None, _('udpate all repos in current dir')) ],
_('hgtk thgstatus [OPTION]')),
"^update|checkout|co": (update,
- [('r', 'rev', '', _('revision to update'))],
+ [('r', 'rev', None, _('revision to update'))],
('hgtk update')),
"^vdiff": (vdiff,
[('c', 'change', '', _('changeset to view in diff tool')),
|
@@ -50,7 +50,7 @@ combo = gtk.combo_box_entry_new_text()
hbox.pack_start(combo, True, True, 2)
vbox.pack_start(hbox, False, False, 10)
- if rev:
+ if rev != None:
combo.append_text(str(rev))
else:
combo.append_text(_branch_tip_)
|
Loading...