bzr-hg imports mercurial copyfrom metadata as part of file text

Bug #635782 reported by Timmie
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Hg Plugin
Triaged
High
Unassigned
Launchpad itself
Won't Fix
High
Unassigned

Bug Description

I hope that this is the right place to report Launchpad bugs related to code import

I have a LP branch that represents an import from a google code Merurial repository:

It seees that the importer add invalid charaters and additional ines to the files.
These break the LP PPA build recipies.

See the first 4 lines in the imported code:
http://bazaar.launchpad.net/~pythonxy/spyderlib/spyder_devel/annotate/head%3A/spyderlib/utils/classparser.py
http://bazaar.launchpad.net/~pythonxy/spyderlib/spyder_devel/annotate/head%3A/spyderlib/widgets/codeeditor/__init__.py

Here are the original files:
http://code.google.com/p/spyderlib/source/browse/spyderlib/utils/classparser.py
http://code.google.com/p/spyderlib/source/browse/spyderlib/widgets/codeeditor/__init__.py

Please try to fix this as all daily builds will not install.

Jelmer Vernooij (jelmer)
affects: bzr → launchpad-code
Max Bowsher (maxb)
summary: - code import into launchpad leads to unvalid characters
+ bzr-hg imports mercurial copyfrom metadata as part of file text
Revision history for this message
Tim Penhey (thumper) wrote :

The launchpad-code task will stay to track the fix being made available through launchpad, but the primary task is on bzr-hg.

Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Timmie (timmie) wrote :

Any idea what could be done?

Revision history for this message
Max Bowsher (maxb) wrote :

We know what the problem is. The fix doesn't even sound too hard. Someone just needs to dig into the code and do it.

Revision history for this message
Miles Clark (mmclark) wrote :

Max - I'm new to the bzr & bzr-hg codebase, but if you'd like to point me in the right direction, I'll take a crack at it.

Jelmer Vernooij (jelmer)
Changed in bzr-hg:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Timmie (timmie) wrote :

With a update of bzr-hg yesterday I succeeded in branching from a local hg clone to a bzr repo on my local drive.

Direct branching with google code still fails.

Changed in launchpad:
importance: Medium → High
Changed in bzr-hg:
importance: Medium → High
tags: added: code-import
removed: lp-code
Jelmer Vernooij (jelmer)
tags: added: bzr-hg
Jelmer Vernooij (jelmer)
tags: added: hg
Revision history for this message
Ian Booth (wallyworld) wrote :

Marking as won't fix for Launchpad since support for Mecurial imports is no longer supported.

Changed in launchpad:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.