Very easy to repeat, please fix this: hag:~$ bzr --version Bazaar (bzr) 2.1.1 Python interpreter: /usr/local/bin/python2.6 2.6.4 Python standard library: /usr/local/lib/python2.6 Platform: FreeBSD-8.0-STABLE-amd64-64bit-ELF bzrlib: /usr/local/lib/python2.6/site-packages/bzrlib Bazaar configuration: /usr/home/vd-dev/.bazaar Bazaar log file: /usr/home/vd-dev/.bzr.log Copyright 2005-2010 Canonical Ltd. http://bazaar-vcs.org/ 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. Bazaar is part of the GNU Project to produce a free operating system. hag:~/.bazaar/plugins/fastimport$ bzr pull Using saved parent location: bzr+ssh://bazaar.launchpad.net/~bzr/bzr-fastimport/trunk/ ... No revisions to pull. hag:~/.bazaar/plugins/fastimport$ date Wed May 5 20:33:25 EEST 2010 hag:/tmp/t/g$ git --version git version 1.7.0.6 hag:/tmp$ mkdir t hag:/tmp$ cd t hag:/tmp/t$ mkdir b hag:/tmp/t$ cd b hag:/tmp/t/b$ bzr init ... bzr output ... hag:/tmp/t/b$ echo foo > f hag:/tmp/t/b$ bzr add f adding f hag:/tmp/t/b$ bzr commit -m 'add f' ... bzr output ... hag:/tmp/t/b$ echo bar >> f hag:/tmp/t/b$ bzr commit -m 'add bar' ... bzr output ... hag:/tmp/t/b$ cd .. hag:/tmp/t$ mkdir g hag:/tmp/t$ cd g hag:/tmp/t/g$ git init Initialized empty Git repository in /tmp/t/g/.git/ hag:/tmp/t/g$ git bzr add b_remote /tmp/t/b + gitbzr_version=1.2 + return= + gitbzr_run add b_remote /tmp/t/b + '[' 3 -lt 2 ']' + cmd=add + shift + args='b_remote /tmp/t/b' + '[' xadd '!=' xhelp ']' + git rev-parse + '[' 0 -ne 0 ']' ++ git rev-parse --show-cdup + up= + '[' x == x ']' + up=. + cd . + case $cmd in + gitbzr_add b_remote /tmp/t/b + '[' 2 -lt 2 ']' + name=b_remote + location=/tmp/t/b + [[ -z b_remote /tmp/t/b ]] ++ git remote show ++ grep -q '"b_remote"' + '[' -n '' ']' ++ git config git-bzr.b_remote.url + '[' -n '' ']' + bzr info -q /tmp/t/b + git config git-bzr.b_remote.location /tmp/t/b + echo -e 'Bazaar branch b_remote added.\nYou can fetch it with '\''git bzr fetch b_remote'\''.' Bazaar branch b_remote added. You can fetch it with 'git bzr fetch b_remote'. hag:/tmp/t/g$ git bzr fetch b_remote + gitbzr_version=1.2 + return= + gitbzr_run fetch b_remote + '[' 2 -lt 2 ']' + cmd=fetch + shift + args=b_remote + '[' xfetch '!=' xhelp ']' + git rev-parse + '[' 0 -ne 0 ']' ++ git rev-parse --show-cdup + up= + '[' x == x ']' + up=. + cd . + case $cmd in + gitbzr_fetch b_remote + '[' 1 -lt 1 ']' ++ gitbzr_git_directory +++ git rev-parse --git-dir ++ gitdir=.git ++ '[' -e .git ']' +++ realpath .git ++ gitdir=/tmp/t/g/.git ++ echo /tmp/t/g/.git + gitdir=/tmp/t/g/.git + remote=b_remote + shift + args= + '[' -z b_remote ']' + get_location b_remote + '[' 1 -lt 1 ']' + remote=b_remote + shift + args= ++ git config git-bzr.b_remote.location + l=/tmp/t/b + '[' -z /tmp/t/b ']' + return=/tmp/t/b + location=/tmp/t/b + git_map=/tmp/t/g/.git/bzr-git/b_remote-git-map + bzr_map=/tmp/t/g/.git/bzr-git/b_remote-bzr-map + '[' '!' -f /tmp/t/g/.git/bzr-git/b_remote-git-map -a '!' -f /tmp/t/g/.git/bzr-git/b_remote-bzr-map ']' + echo 'There doesn'\''t seem to be an existing refmap. ' There doesn't seem to be an existing refmap. + echo 'Doing an initial import' Doing an initial import ++ dirname /tmp/t/g/.git/bzr-git/b_remote-git-map + mkdir -p /tmp/t/g/.git/bzr-git + bzr fast-export --export-marks=/tmp/t/g/.git/bzr-git/b_remote-bzr-map --git-branch=b_remote /tmp/t/b + git fast-import --export-marks=/tmp/t/g/.git/bzr-git/b_remote-git-map 20:31:17 Calculating the revisions to include ... 20:31:17 Starting export of 2 revisions ... 20:31:17 Exported 2 revisions in 0:00:00 git-fast-import statistics: --------------------------------------------------------------------- Alloc'd objects: 5000 Total objects: 6 ( 0 duplicates ) blobs : 2 ( 0 duplicates 0 deltas) trees : 2 ( 0 duplicates 0 deltas) commits: 2 ( 0 duplicates 0 deltas) tags : 0 ( 0 duplicates 0 deltas) Total branches: 1 ( 1 loads ) marks: 1024 ( 2 unique ) atoms: 1 Memory total: 2344 KiB pools: 2110 KiB objects: 234 KiB --------------------------------------------------------------------- pack_report: getpagesize() = 4096 pack_report: core.packedGitWindowSize = 1073741824 pack_report: core.packedGitLimit = 8589934592 pack_report: pack_used_ctr = 3 pack_report: pack_mmap_calls = 2 pack_report: pack_open_windows = 1 / 1 pack_report: pack_mapped = 413 / 413 --------------------------------------------------------------------- hag:/tmp/t/g$ git branch b_local b_remote hag:/tmp/t/g$ git checkout b_local Switched to branch 'b_local' hag:/tmp/t/g$ cat f foo bar hag:/tmp/t/g$ echo baz >> f hag:/tmp/t/g$ git commit -a -m 'add baz' [b_local b10657a] add baz 1 files changed, 1 insertions(+), 0 deletions(-) hag:/tmp/t/g$ git bzr push b_remote + gitbzr_version=1.2 + return= + gitbzr_run push b_remote + '[' 2 -lt 2 ']' + cmd=push + shift + args=b_remote + '[' xpush '!=' xhelp ']' + git rev-parse + '[' 0 -ne 0 ']' ++ git rev-parse --show-cdup + up= + '[' x == x ']' + up=. + cd . + case $cmd in + gitbzr_push b_remote + '[' 1 -lt 1 ']' ++ gitbzr_git_directory +++ git rev-parse --git-dir ++ gitdir=.git ++ '[' -e .git ']' +++ realpath .git ++ gitdir=/tmp/t/g/.git ++ echo /tmp/t/g/.git + gitdir=/tmp/t/g/.git + remote=b_remote + shift + args= + '[' -z b_remote ']' + get_location b_remote + '[' 1 -lt 1 ']' + remote=b_remote + shift + args= ++ git config git-bzr.b_remote.location + l=/tmp/t/b + '[' -z /tmp/t/b ']' + return=/tmp/t/b + location=/tmp/t/b ++ git rev-list --left-right HEAD...b_remote ++ sed -n '/^>/ p' + '[' -n '' ']' ++ git rev-list --left-right HEAD...b_remote ++ sed -n '/^