Issue 385: Alias paths can not be relative
http://bitbucket.org/tortoisehg/stable/issue/385/alias-paths-can-not-be-relative

Steve Borho / sborho on Mon, 13 Jul 2009 20:46:27 +0200:

Comment:
  The precise code in Mercurial's ui.py

{{{
    def fixconfig(self, root=None):
        # translate paths relative to root (or home) into absolute paths
        root = root or os.getcwd()
        for c in self._tcfg, self._ucfg, self._ocfg:
            for n, p in c.items('paths'):
                if p and "://" not in p and not os.path.isabs(p):
                    c.set("paths", n, os.path.normpath(os.path.join(root, p)))
}}}

This seems to be done to force relative paths to always be relative to the 
repository root directory.
In other words, this is considered a feature and so it is not likely to be 
changed.

Changes:
  status: open -> resolved

-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to