Hi folks, I faced with a sticky problem at the list of paths of 'Sync' tab in TortoiseHg setting tool. When I add a new path with alias 'remote', it wasn't shown in the list of paths. On the other hand, Synchronize tool shows 'remote' path correctly in drop-down list. Here is my repository HGRC file:
[paths] default = c:/work/thg remote = ssh://h...@bitbucket.org/kuy/thg-kuy/ main = https://k...@bitbucket.org/tortoisehg/stable/ With a moment's thought, I found out that a line started with 'REM' is treated as comment line in INI file. See iniparse source code: class CommentLine(LineType): regex = re.compile(r'^(?P<csep>[;#]|[rR][eE][mM])' r'(?P<comment>.*)$') However, you may know, the alias 'remote' is valid in Mercurial. So I suppose we shouldn't use iniparse module for [paths] section. To acquire paths from HGRC file, we can use self.repo.ui.configitems('paths') This is the way used in Sync tool. Any comment? -- Yuki KODAMA ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop