On Thu, Oct 27, 2005 at 12:17:16AM +0200, Jan Hudec wrote:
> Hello All,
>
> I found some more points that confuse me. Specifically, what are the rules
> for paths within dirstate.walkhelper? Because on one hand the files are
> opened using that paths, which means they must be either absolute or relative
> to current directory. But on the other hand they are looked up the dirstate
> map, where they can hardly be relative to current working directory, which is
> completely arbitrary. The code where I want to use it always passes full
> paths and changing working directory is STRONGLY undesirable (I know how to
> make changing directory work, but it's hacky).
Paths handled anywhere beneath the command layer should be full paths.
Filters, on the other hand, may be relative.
--
Mathematics is the supreme nostalgia of our time.
|