On Thu, 7 Jan 2016 20:46:56 +0000, Eric Haszlakiewicz wrote: > > -----Original Message----- > > From: Eric Haszlakiewicz [mailto:[email protected]] > > Sent: Thursday, January 07, 2016 11:07 AM > > To: '[email protected]' > > Subject: [thg] changing tortoisehg settings file location > > > > I'm trying to use a different location for TortoiseHG's settings file, > > because the default of %USERPROFILE% is wrong for my environment. I > > want to use %HOMEDRIVE%%HOMEPATH% because that is a network location > > that appears on all of the machines where I login. I attempted to set > > HGRCPATH: > > > > setx HGRCPATH "C:\Program > > Files\TortoiseHG\Mercurial.ini;%HOMEDRIVE%%HOMEPATH%\mercurial.ini" > > Correction, to get standard features, like docdiff, working again: > > setx HGRCPATH "C:\Program Files\TortoiseHG\Mercurial.ini;C:\Program > Files\TortoiseHG\hgrc.d\;%HOMEDRIVE%%HOMEPATH%\mercurial.ini"
Instead of HGRCPATH, you can (ab)use unix-style HOME variable. > > (the problem with the location of Mercurial.ini still exists) > > > Which works for command line use and for actual operations within > > TortoiseHg Workbench, but going to File->Settings still shows the > > wrong path, and the Edit File button brings up that file instead of > > the right config file. Also options that are set in the real config > > file act oddly. For example, extensions that are enabled show up with > > their checkbox checked, but greyed out and unmodifiable. > > > > How do I tell TortoiseHg the right path to my config? It isn't fixed yet. https://bitbucket.org/tortoisehg/thg/issues/2379/ ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

