branch | stable |
changeset 21209 | c5d35995d192 |
parent 21196 | 5c0d5b95b824 |
child 21275 | c7e9fb881a5a |
--- a/hgext/largefiles/overrides.py Thu May 01 09:42:23 2014 -0500 +++ b/hgext/largefiles/overrides.py Thu May 01 15:12:49 2014 +0200 @@ -270,6 +270,9 @@ pats = set(p) # TODO: handling of patterns in both cases below if m._cwd: + if os.path.isabs(m._cwd): + # TODO: handle largefile magic when invoked from other cwd + return matchandpats back = (m._cwd.count('/') + 1) * '../' pats.update(back + lfutil.standin(m._cwd + '/' + f) for f in p) else: