Merge into new branch produces strange log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
Merging from an existing branch into a new one produces unusual log effects.
Curium:merge2new straussd$ bzr init-repo --1.14-rich-root .
Shared repository with trees (format: 1.14-rich-root or 1.9-rich-root)
Location:
shared repository: .
Curium:merge2new straussd$ bzr init old
Created a repository tree (format: unnamed)
Using shared repository: /Users/
Curium:merge2new straussd$ cd old/
Curium:old straussd$ touch a
Curium:old straussd$ bzr add
adding a
Curium:old straussd$ bzr commit -m"a"
Committing to: /Users/
added a
Committed revision 1.
Curium:old straussd$ touch b
Curium:old straussd$ bzr add
adding b
Curium:old straussd$ bzr commit -m"b"
Committing to: /Users/
added b
Committed revision 2.
Curium:old straussd$ cd ..
Curium:merge2new straussd$ bzr init new
Created a repository tree (format: unnamed)
Using shared repository: /Users/
Curium:merge2new straussd$ cd new/
Curium:new straussd$ bzr merge ../old/
+N a
+N b
All changes applied successfully.
Curium:new straussd$ bzr commit -m"Merge from old."
Committing to: /Users/
deleted
modified a
modified b
Committed revision 1.
Curium:new straussd$ bzr log
-------
revno: 1
committer: David Strauss <david@foobar>
branch nick: new
timestamp: Wed 2009-08-19 13:56:49 +0000
message:
Merge from old.
-------
revno: 0
committer: David Strauss <david@foobar>
branch nick: old
timestamp: Wed 2009-08-19 13:56:23 +0000
message:
b
-------
revno: -1
committer: David Strauss <david@foobar>
branch nick: old
timestamp: Wed 2009-08-19 13:56:13 +0000
message:
a
Curium:new straussd$ bzr log --include-merges
-------
revno: 3
committer: David Strauss <david@foobar>
branch nick: new
timestamp: Wed 2009-08-19 13:56:49 +0000
message:
Merge from old.
-------
revno: 2
committer: David Strauss <david@foobar>
branch nick: old
timestamp: Wed 2009-08-19 13:56:23 +0000
message:
b
-------
revno: 1
committer: David Strauss <david@foobar>
branch nick: old
timestamp: Wed 2009-08-19 13:56:13 +0000
message:
a
Curium:new straussd$ touch c
Curium:new straussd$ bzr add
adding c
Curium:new straussd$ bzr commit -m"c"
Committing to: /Users/
added c
Committed revision 2.
Curium:new straussd$ bzr log
-------
revno: 2
committer: David Strauss <david@foobar>
branch nick: new
timestamp: Wed 2009-08-19 13:59:02 +0000
message:
c
-------
revno: 1
committer: David Strauss <david@foobar>
branch nick: new
timestamp: Wed 2009-08-19 13:56:49 +0000
message:
Merge from old.
-------
revno: 0
committer: David Strauss <david@foobar>
branch nick: old
timestamp: Wed 2009-08-19 13:56:23 +0000
message:
b
-------
revno: -1
committer: David Strauss <david@foobar>
branch nick: old
timestamp: Wed 2009-08-19 13:56:13 +0000
message:
a
Curium:new straussd$ bzr log --include-merges
-------
revno: 4
committer: David Strauss <david@foobar>
branch nick: new
timestamp: Wed 2009-08-19 13:59:02 +0000
message:
c
-------
revno: 3
committer: David Strauss <david@foobar>
branch nick: new
timestamp: Wed 2009-08-19 13:56:49 +0000
message:
Merge from old.
-------
revno: 2
committer: David Strauss <david@foobar>
branch nick: old
timestamp: Wed 2009-08-19 13:56:23 +0000
message:
b
-------
revno: 1
committer: David Strauss <david@foobar>
branch nick: old
timestamp: Wed 2009-08-19 13:56:13 +0000
message:
a
Curium:new straussd$
And my version:
Curium:new straussd$ bzr version Library/ Frameworks/ Python. framework/ Versions/ 2.5/Resources/ Python. app/Contents/ MacOS/Python 2.5.1 Library/ Frameworks/ Python. framework/ Versions/ 2.5/lib/ python2. 5 Python/ 2.5/site- packages/ bzrlib straussd/ .bazaar straussd/ .bzr.log
Bazaar (bzr) 1.17
Python interpreter: /System/
Python standard library: /System/
bzrlib: /Library/
Bazaar configuration: /Users/
Bazaar log file: /Users/
Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd. bazaar- vcs.org/
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.