Re: [Vcs-fast-import-devs] bzr to git syncing
Sverre Rabbelier wrote: > Heya, > > [+vcs-fast-import-devs] > > On Fri, Aug 28, 2009 at 10:47, Alex Bennee wrote: >> 2009/8/28 Sverre Rabbelier : >>> On Fri, Aug 28, 2009 at 09:02, Alex Bennee wrote: I've attached the fast-import crash I'm seeing. Are you seeing the same sort of failure? >>> The program you used to generate the stream (I assume git-bzr?) is >>> generating an invalid mode, git understands '100644', '100755', >>> '12', and '16'; the mode in the stream, '04', is not >>> something we understand. >> Yeah, it seems in bzr land it mean new directory which we don't care >> about. > This seems like a fine case for the new 'feature' command on bzr's export > side. Hmm - I only added that 04 stuff late last week and it *should* only be output if you explicitly ask for extended metadata from bzr fast-export via the --no-plain option? If that's not the case, please raise a bug here: https://bugs.launchpad.net/bzr-fastimport. Ian C. ___ Mailing list: https://launchpad.net/~vcs-fast-import-devs Post to : vcs-fast-import-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~vcs-fast-import-devs More help : https://help.launchpad.net/ListHelp
Re: [Vcs-fast-import-devs] bzr to git syncing
Heya, [+vcs-fast-import-devs] On Fri, Aug 28, 2009 at 10:47, Alex Bennee wrote: > 2009/8/28 Sverre Rabbelier : >> On Fri, Aug 28, 2009 at 09:02, Alex Bennee wrote: >>> I've attached the fast-import crash I'm seeing. Are you seeing the >>> same sort of failure? >> >> The program you used to generate the stream (I assume git-bzr?) is >> generating an invalid mode, git understands '100644', '100755', >> '12', and '16'; the mode in the stream, '04', is not >> something we understand. > > Yeah, it seems in bzr land it mean new directory which we don't care > about. The following patch makes it work. Apologies for failure to > inline but Gmail would just corrupt it if I tried. > > I also had to patch the ref check code to accept bzr style branch > names but I suspect that patch should be kept out of the repo. This seems like a fine case for the new 'feature' command on bzr's export side. -- Cheers, Sverre Rabbelier ___ Mailing list: https://launchpad.net/~vcs-fast-import-devs Post to : vcs-fast-import-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~vcs-fast-import-devs More help : https://help.launchpad.net/ListHelp