1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #1883 resolved

Editing a path always creates an additional entry in hgrc's [paths] section

Christoph Jüngling
created an issue

Editing a path during //"right mouse click/edit..."// on an entry always creates an additional entry in hgrc's [paths] section.

Same happens when editing the entry directly in the //address line// and saving via disc symbol.

(TortoiseHg 2.3.2 on Windows 7 pro)

Comments (4)

  1. Yuya Nishihara

    sync: fix several unicode issues at SaveDialog (fixes #1883)

    'config' object does not accept unicode or QString. Because hash(QString('foo')) != hash('foo'), it happened to duplicate the same alias entry.

    It seems SaveDialog was designed to handle variables in local encoding, so I changed 'origalias' to follow this rule.


  2. Log in to comment