Yuya Nishihara  committed 22c8bde

sync: hide 'remove auth' check in edit path dialog (fixes #1866)

It's useful only in save dialog, where the URL is immutable.

  • Participants
  • Parent commits 39b5245
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

             self.layout().addRow(_('URL'), self.urllabel)
         user, host, port, folder, passwd, scheme = parseurl(origurl)
-        if (user or passwd) and scheme in ('http', 'https'):
+        if not edit and (user or passwd) and scheme in ('http', 'https'):
             cleanurl = util.removeauth(origurl)
             def showurl(showclean):
                 newurl = showclean and cleanurl or safeurl