Submitter | Isaac Jurado |
---|---|
Date | Sept. 11, 2013, 10:29 p.m. |
Message ID | <d0fab8d442d448c63039.1378938580@findus> |
Download | mbox | patch |
Permalink | /patch/2427/ |
State | Deferred |
Headers | show |
Comments
Patch
diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -104,7 +104,8 @@ files = [self._join('.hgignore')] for name, path in self._ui.configitems("ui"): if name == 'ignore' or name.startswith('ignore.'): - files.append(util.expandpath(path)) + p = util.expandpath(path) + files.append(os.path.isabs(p) and p or self._join(p)) return ignore.ignore(self._root, files, self._ui.warn) @propertycache