Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1.2 and tip

stable sync: allow username to be edited in ssh hostentry (closes #964)

It's a little odd, but I think it is discoverable

Changeset 22c3afc7bf67

Parent 50a1c70972aa

by Steve Borho

Changes to one file · Browse files at 22c3afc7bf67 Showing diff from parent 50a1c70972aa Diff from another changeset...

 
444
445
446
 
 
 
 
 
 
447
448
449
 
444
445
446
447
448
449
450
451
452
453
454
455
@@ -444,6 +444,12 @@
  host = self.hostentry.text()   port = self.portentry.text()   parts = [scheme, '://'] + if scheme == 'ssh' and '@' in host: + if host[0] == '@': + user, host = '', host[1:] + else: + user, host = host.split('@', 1) + self.curuser = hglib.fromunicode(user)   if self.curuser:   parts.append(self.curuser)   if self.curpw: