[Bug 4293] New: Allow commit to different branch
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Jun 30 04:50:01 CDT 2014
http://bz.selenic.com/show_bug.cgi?id=4293
Priority: normal
Bug ID: 4293
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: Allow commit to different branch
Severity: feature
Classification: Unclassified
OS: Linux
Reporter: Ulf.Zibis at CoSoCo.de
Hardware: PC
Status: UNCONFIRMED
Version: unspecified
Component: Mercurial
Product: Mercurial
I have:
src/path/file in branch A (with recent changes)
test/path/file in branch B (more older version)
I tried (with help of NetBeans IDE, so the real commands may be little
different):
hg branch A
hg rename src/path/file test/path/file
hg merge B
>From here I want to commit the result to branch B. I tried "hg update B" which
resulted as error :-(
So I'm asking for an enhancement like: hg commit --destination B
Additionally I want to track test/path/file as sucessor of src/path/file in one
commit after the merge.
With "hg status -C" I discovered, that the source information from the before
rename was lost after the merge. Even a later "hg copy -A src/path/file
test/path/file" was rejected by error message.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list