tests/test-branch.out
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 16 Mar 2007 00:22:58 -0300
changeset 4230 c93562fb12cc
parent 3503 b28d3e0f9a8c
permissions -rw-r--r--
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.

adding a
adding b
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
the --branches option is deprecated, please use 'hg branches' instead
changeset:   0:b544c4ac4389
user:        test
date:        Mon Jan 12 13:46:40 1970 +0000
summary:     0

the --branch option is deprecated, please use 'hg branch' instead
Using head f4ac749470f2 for branch foo
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
changeset:   1:f4ac749470f2
tag:         foo
tag:         tip
user:        test
date:        Mon Jan 12 13:46:40 1970 +0000
summary:     1

2 files updated, 0 files merged, 0 files removed, 0 files unresolved
adding c
the --branch option is deprecated, please use 'hg branch' instead
Using head f4ac749470f2 for branch foo
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
(branch merge, don't forget to commit)
the --branches option is deprecated, please use 'hg branches' instead
changeset:   2:1505d56ee00e
tag:         tip
parent:      0:b544c4ac4389
user:        test
date:        Mon Jan 12 13:46:40 1970 +0000
summary:     0.0

changeset:   1:f4ac749470f2
tag:         foo
branch:      foo
user:        test
date:        Mon Jan 12 13:46:40 1970 +0000
summary:     1

2 files updated, 0 files merged, 1 files removed, 0 files unresolved
adding d
the --branch option is deprecated, please use 'hg branch' instead
Using head f4ac749470f2 for branch foo
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
(branch merge, don't forget to commit)
the --branches option is deprecated, please use 'hg branches' instead
changeset:   3:53b72df12ae5
tag:         tip
parent:      0:b544c4ac4389
user:        test
date:        Mon Jan 12 13:46:40 1970 +0000
summary:     0.0

changeset:   1:f4ac749470f2
tag:         foo
branch:      foo
user:        test
date:        Mon Jan 12 13:46:40 1970 +0000
summary:     1