Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8.2, 0.8.3, and 0.9

stable update: allow revision 0 to be specified again

This was broken again by change d049531ae6a3. The proper fix
was to make hgtk specify no argument as None rather than an empty
string.

Fixes #288

Changeset 2c31dd2ec419

Parent 0ca4ab648cc5

by Steve Borho

Changes to 2 files · Browse files at 2c31dd2ec419 Showing diff from parent 0ca4ab648cc5 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgtk.py Stacked
 
685
686
687
688
 
689
690
691
 
685
686
687
 
688
689
690
691
@@ -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')),
Change 1 of 1 Show Entire File hggtk/​update.py Stacked
 
50
51
52
53
 
54
55
56
 
50
51
52
 
53
54
55
56
@@ -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_)