[Bug 6360] New: hg update which includes merging of files has unwanted results
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun Jun 28 00:07:16 UTC 2020
https://bz.mercurial-scm.org/show_bug.cgi?id=6360
Bug ID: 6360
Summary: hg update which includes merging of files has unwanted
results
Product: Mercurial
Version: default branch
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: sushilkhanchi97 at gmail.com
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
Can someone please confirm if I am only one facing this issue with `hg update`?
In following script notice that after `hg update` we still have merge state
stored on disk (which should be cleaned up) because of which `hg status` shows
that "#no unresolved merge conflicts". And `hg log` also has that second
parent.
$ hg init repo
$ cd repo
$ echo a > a
$ hg ci -Ama
adding a
$ echo aa >> a
$ hg ci -m "update a"
$ sed -i '1ia_first' a
$ hg up '.^' --merge
merging a
0 files updated, 1 files merged, 0 files removed, 0 files unresolved
$ hg log -G
% changeset: 1:d729b13643a1
| tag: tip
| user: test
| date: Thu Jan 01 00:00:00 1970 +0000
| summary: update a
|
@ changeset: 0:cb9a9f314b8b
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: a
$ hg st -v
M a
# No unresolved merge conflicts.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list