Comment 11 for bug 268933

Revision history for this message
Jonas (jonas-annica) wrote : SV: [Bug 268933] Re: bzr-fast-export exports rm+mv incorrectly

See:

https://bugs.launchpad.net/bzr-fastimport/+bug/285175

Furthermore, I don't know of any case not working with my latest patch
on this bug

Do you ?

/Jonas

--- Den tors 2008-10-23 skrev Gabriel de Perthuis <email address hidden>:

> Från: Gabriel de Perthuis <email address hidden>
> Ämne: [Bug 268933] Re: bzr-fast-export exports rm+mv incorrectly
> Till: <email address hidden>
> Datum: torsdag 23 oktober 2008 01.29
> I've rewritten the exporter to stream directly the
> iter_changes
> operations. This does fix my testcase, which was with the
> exporter being
> too much involved with directory moves.
>
> But these are not the correct semantics yet, because
> iter_changes
> appears to give an unordered set of changes.
>
> For example (this bug's first testcase), it returns
> things like:
> R a b
> D b
> Which, serialized, should become
> D b
> R a b
>
> Another problematic situation is (#285175):
> R b a
> R a b
> Which needs an intermediary to be serialized
> R b t
> R a b
> R t a
>
>
> ** Attachment added: "WIP patch"
>
> http://launchpadlibrarian.net/18808271/iter_changes.patch
>
> --
> bzr-fast-export exports rm+mv incorrectly
> https://bugs.launchpad.net/bugs/268933
> You received this bug notification because you are a direct
> subscriber
> of the bug.
>
> Status in Bazaar Fast Import Plugin: Confirmed
>
> Bug description:
> if doing
> bzr rm a
> bzr mv b a
> commit
>
> then bzr-fast-export will export a mv followed by a rm,
> causing a to vanish in total
> (btw, bzr diff -c also shows them in "opposite"
> order)

      __________________________________________________________
Låna pengar utan säkerhet. Jämför vilkor online hos Kelkoo.
http://www.kelkoo.se/c-100390123-lan-utan-sakerhet.html?partnerId=96915014