[Bug 1994138] Re: bzr fast-export of update-manager to git fast-import fails

Benjamin Drung 1994138 at bugs.launchpad.net
Tue Oct 25 11:32:56 UTC 2022


This is a bug in bzr fast-export. "bzr log -v -r2" shows that Common/ is
renamed to UpdateManagerCommon/:

```
$ bzr log -v -r2
------------------------------------------------------------
revno: 2
committer: Michael Vogt <egon at top>
timestamp: Tue 2005-11-15 15:08:26 +0100
message:
  * switched to python dist-utils (DIE auto* DIE)
  * works with channels now (for adding)
removed:
  configure
  install-sh
  intltool-extract
  intltool-extract.in
  intltool-merge
  intltool-merge.in
  intltool-update
  omf.make
  xmldocs.make
added:
  UpdateManagerCommon/__init__.py
  setup.py
renamed:
  Common/ => UpdateManagerCommon/
  SoftwareProperties/SoftwareProperties.py.in => SoftwareProperties/SoftwareProperties.py
  distribution-data/ => channels/
  src/update-manager.in => src/update-manager
modified:
  Common/DistInfo.py
  SoftwareProperties/aptsources.py
  SoftwareProperties/dialog_add.py
  SoftwareProperties/SoftwareProperties.py
  src/update-manager
```

But the output of "bzr fast-export --plain" does not contain this
rename:

```
[...]
mark :2
committer Michael Vogt <egon at top> 1132063706 +0100
data 87
* switched to python dist-utils (DIE auto* DIE)
* works with channels now (for adding)

from :1
R SoftwareProperties/SoftwareProperties.py.in SoftwareProperties/SoftwareProperties.py
R src/update-manager.in src/update-manager
D configure
D install-sh
D intltool-extract
D intltool-extract.in
D intltool-merge
D intltool-merge.in
D intltool-update
D omf.make
D xmldocs.make
M 644 inline UpdateManagerCommon/DistInfo.py
data 3654
[...]
```

** Package changed: git (Ubuntu) => breezy (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1994138

Title:
  bzr fast-export of update-manager to git fast-import fails

Status in breezy package in Ubuntu:
  New

Bug description:
  Converting update-manager from bzr to git fails (on Ubuntu 22.04 and
  22.10):

  ```
  bzr branch lp:~ubuntu-core-dev/update-manager/main update-manager
  mkdir update-manager.git
  cd update-manager.git
  git init --initial-branch=master
  bzr fast-export --plain ../update-manager | git fast-import
  ```

  Log output:

  ```
  13:26:42 Calculating the revisions to include ...
  13:26:42 Starting export of 4392 revisions ...
  13:26:42 1000/4392 commits exported at 175211/minute 
  13:26:42 1000/4392 commits exported at 170185/minute 
  13:26:43 1000/4392 commits exported at 147485/minute 
  13:26:43 1000/4392 commits exported at 141297/minute 
  13:26:43 1000/4392 commits exported at 140854/minute 
  13:26:43 1000/4392 commits exported at 140695/minute 
  13:26:43 1000/4392 commits exported at 125106/minute 
  13:26:43 1000/4392 commits exported at 123494/minute 
  fatal: Path UpdateManagerCommon/Makefile not in branch
  fast-import: dumping crash report to .git/fast_import_crash_213962
  brz: broken pipe
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/breezy/+bug/1994138/+subscriptions




More information about the foundations-bugs mailing list