Commits

Steve Borho committed 491dba8

update: fix hgtk update -r for reals

Comments (0)

Files changed (1)

tortoisehg/hgtk/update.py

 def run(ui, *pats, **opts):
     rev = None
     if opts.get('rev'):
-        rev = opts.get('rev')
+        rev = opts.get('rev')[0]
     return UpdateDialog(rev)