Commits

FredrikOrderud  committed dbe53c6

clone: Adding support for "--startrev" parameter in hgsubversion.

  • Participants
  • Parent commits 90cd0cf
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/clone.py

         table.add_row(self.optrev, self.reventry)
 
         self.exs = [name for name, module in extensions.extensions()]
-        if 'perfarce' in self.exs:
+        if ('perfarce' in self.exs) or ('hgsubversion' in in self.exs):
             self.startreventry = gtk.Entry()
             self.startreventry.set_sensitive(False)
-            self.optstartrev = gtk.CheckButton(_('Starting P4 Changelist:'))
+            self.optstartrev = gtk.CheckButton(_('Starting Revision:'))
             self.optstartrev.connect('toggled',
                     self.checkbutton_toggled, self.startreventry)
             table.add_row(self.optstartrev, self.startreventry)
         if rev:
             cmdline.append('--rev')
             cmdline.append(rev)
-        if src.startswith('p4://') and startrev:
+        if startrev:
             cmdline.append('--startrev')
             cmdline.append(startrev)