/srv/irclogs.ubuntu.com/2014/09/10/#bzr.txt

* LeoNerd is somewhat surprised that 'bzr shelve' in a git checkout /mostly/ works10:31
jelmerLeoNerd: with bzr-git, presumably?12:03
LeoNerdYeah.. admittedly it did crash, but it seems to have crashed after storing the shelf and unpatching it from the workdir.. so it's quite servicable12:10
LeoNerdI'm currently developing a server using python in git, a client using perl in bzr, and an integration-test script between the two using perl in git. So it's a bit of a mixup in my head sometimes :)12:11
jelmerLeoNerd: that sounds.. suboptimal?12:14
thrustcorebzr has been updating for 2 hours, should I break the lock and start again or should I wait for it to finish?13:10
=== jordan is now known as jordsan
=== jordsan is now known as jordan
mark06anyone experimenting with bzr-hg or fastimport?15:44
mark06I managed to make bzr-hg proceeed after a path to the mercurial lib, but then it takes hours processing the "manifests", up to failing due to some memory error15:45
mark06as for fastimport, none of the mentioned commands for exporting an hg repo exists15:47
mark06is there some way to merge a branch with no common ancestor?23:12
mark06surprisingly it seems to be a common case: http://zakalwe.fi/~shd/articles/why_not_bazaar.html23:13
mark06"Having a common ancestor is a strong "hint" that a merge is possible, but it should not be a technical requirement for merging. Git and hg both allow merging arbitrary trees together."23:13
mark06any progress after this? http://fourword.fourkitchens.com/article/creating-common-branch-ancestry-hard-problem23:22
fullermdI merge unrelated branches all the time.23:24
jelmermark06: that article is very ignorant23:24
jelmermark06: "bzr merge -r0..-1 <branch-to-merge>"23:24
mark06fullermd: how do you do?23:40
mark06full of conflicts, jelmer: http://vpaste.net/IY9Ku23:41
=== c74d is now known as Guest10529
jelmermark06: sure, if there are paths that exist in both you'll probably get conflicts23:41
mark06better formatted, http://vpaste.net/XXdgs23:42
mark06jelmer: which is exactly what the article says23:42
jelmermark06: no, the article says that a merge is not possible23:42
mark06no it doesn't say that23:42
mark06let's put the vcs wars aside, I don't care about it, really23:43
jelmermark06: " Bazaar version control tool demands that two trees that are merged must have at least one common ancestor, or cherry-picking must be used."23:43
mark06I just want to merge :)23:43
mark06jelmer: you mean the first post? ok23:44
jelmermark06: merging two branches with different file ids for the same paths is problematic in bzr; you need to pick the file ids of either side23:44
jelmermark06: yes, the first post is wrong. The second post gives a reasonable explanation, at a quick glance23:45
jelmer(and yes, this is an unsolved problem.. it's a fundamental issue with file ids)23:45
mark06I wish they worked on "I’m currently looking at writing a custom merge handler (subclassed from  the standard merge3 in Bazaar) that would intelligently handle merges  where file paths do represent the same files"23:45
jelmermark06: who are you referring to with "they" ?23:46
mark06I managed to resolve all the conflicts with lost of "just resolve" but then I get no merge at all but a plain commit23:46
mark06they = whoever was planning to write such custom merger23:47
* mark06 curious how fullermd handles it23:48
mark06my real case is that if I ever get bzr-hg working, then I could work better with upstream repo for pidgin... currently I have committed 2.10.9 to a new branch supposed to get only upstream changes....23:49
jelmermark06: ah, you're taking up bzr-hg development?23:50
jelmermark06: there are lots of use cases for merging unrelated branches23:50
jelmermark06: one is merging unrelated branches with non-overlapping files; file ids are not an issue there23:51
mark06not really, I made some progress with a small patch to mercurial's python module but then the manifests step takes too long and eventually fails with memory error (this is windows, the idea was trying it on my ubuntu server)23:52
mark06yeah my case is definitely overlaping files23:52
jelmermark06: yeah, there is no good way of handling those (the name for this problem is "parallel imports")23:53
mark06since I have an upstream branch with one single commit for 2.10.9, and from which I based all of my work for pidgin++23:53
jelmermark06: cool, bzr-hg is in need of some attention :)23:54
fullermdI merge really-unrelated branches, so there's minimal overlap in file names (and when there is, they usually really are different files, so resolution is renaming)23:54
mark06so instead of committing next version to the upstream branch (or breaking this into manual commits according to how often I update it)... I would like to merge the mercurial branch on top of that (all changesets after 2.10.9 I mean)23:55
mark06hopefully these many conflicts would be only for the first time...23:57
mark06I just don't understand because in my test, after solving all conflicts I got no merge at all, the commit was plain23:57
jelmermark06: resolving conflicts should not remove pending merge parents23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!