Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-import.out @ 4230:c93562fb12cc
Fix handling of paths when run outside the repo.
The main problem was that dirstate.getcwd() returned just "",
which was interpreted as "we're at the repo root". It now returns
an absolute path.
The util.pathto function was also changed to deal with the "cwd is
an absolute path" case.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 16 Mar 2007 00:22:58 -0300 |
parents | b70740aefa4d |
children | a7915f79d4cc |
comparison
equal
deleted
inserted
replaced
4229:24c22a3f2ef8 | 4230:c93562fb12cc |
---|---|
28 adding manifests | 28 adding manifests |
29 adding file changes | 29 adding file changes |
30 added 1 changesets with 2 changes to 2 files | 30 added 1 changesets with 2 changes to 2 files |
31 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | 31 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
32 applying ../tip.patch | 32 applying ../tip.patch |
33 % hg -R repo import | |
34 requesting all changes | |
35 adding changesets | |
36 adding manifests | |
37 adding file changes | |
38 added 1 changesets with 2 changes to 2 files | |
39 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
40 applying tip.patch | |
33 % import from stdin | 41 % import from stdin |
34 requesting all changes | 42 requesting all changes |
35 adding changesets | 43 adding changesets |
36 adding manifests | 44 adding manifests |
37 adding file changes | 45 adding file changes |