user-map doesn't support emailaddress-less ids

Bug #576598 reported by Andrew Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Fast Import
Fix Released
Low
Jelmer Vernooij

Bug Description

I had a repository I'd converted from Subversion which didn't have the right committer ids (they were just user names with no email address part), so I used fast-export followed by fast-import to modify them. I followed the examples for user mapping in the help text but my addresses were not being converted, possibly because I didn't provide a default '@' mapping at all, just a complete list of user IDs to convert, like this:
    bill = William Orange <email address hidden>
    mary = Maria Naranja <email address hidden>

What I eventually found worked was adding an empty pair of angle-brackets to the old IDs, like this:
    bill <> = William Orange <email address hidden>
    mary <> = Maria Naranja <email address hidden>

Related branches

Jelmer Vernooij (jelmer)
Changed in bzr-fastimport:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Jelmer Vernooij (jelmer)
summary: - user-map doesn't work as documented
+ user-map doesn't support emailaddress-less ids
Jelmer Vernooij (jelmer)
Changed in bzr-fastimport:
status: Fix Committed → Fix Released
milestone: none → 0.10.0
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.