/srv/irclogs.ubuntu.com/2010/08/13/#bzr.txt

pooliehi all00:56
spivHi poolie01:00
pooliei might catch up on my pilotage today01:04
pooliei got a bit further on feature flags yesterday01:04
jdk2588I am trying to merge from one branch to another branch and I am getting this error03:27
jdk2588http://pastebin.com/Hh522sk103:27
pooliehi jdk2588, this means you, or someone else, has upgraded one of the repositories but not the other03:34
poolieif you're running bzr 2.0 or later i would recommend just using 'bzr upgrade' in both03:34
poolieit may take a while if the repo is large03:34
jdk2588I am using bzr 1.903:37
poolieok03:40
pooliei'd recommend that you upgrade then03:40
pooliewhat OS are you using?03:40
jdk2588Ubuntu 8.0403:47
=== lifeless_ is now known as lifeless
jdk2588now I have upgraded but it shows an error that revisions have no common ancesstor04:01
poolieok, and you're pretty sure these branches are in fact related?04:02
jdk2588yes , they04:02
jdk2588like if I try to merge branch2 into branch1 it works04:02
jdk2588but when branch1 into branch2 it shows now the ancesstor error04:03
fullermdProbably one of those criss-cross bugs.04:03
fullermd...  though, that wouldn't be order dependent, I'd think...04:04
fullermdDoes doing `missing` one way or the other reveal anything surprising?04:07
jdk2588yeah I was able to merge04:23
jdk2588thanks guys04:23
jdk2588ok now in the conflicts  what are the three files like <filename>.{BASE,THIS,OTHER}04:24
jdk2588can someone just help me with this04:24
fullermdThat means there was a conflict in the file.04:24
fullermdAssuming it's a text file, you'll have "normal" CVS-ish conflict markers in the file itself, you can just resolve in place.  Those 3 files are there if you need to refer to them, or use an external 3-way tool.04:25
jdk2588so how should it be resolved , I did read the docs but  could not understand much04:25
* fullermd shrugs.04:25
fullermdPull it up and see what the conflict is.  Its presence means that bzr couldn't merge it automatically, so it'll have to be your human understanding of the code (or recipe, or whatever it is)04:26
spivHmm, the docs aren't very detailed on this.04:27
spivjdk2588: the easiest way usually is to open the file, and look for "<<<<<<<"04:30
spivjdk2588: which will be the start of the conflicting region04:31
jdk2588ok and I should remove it04:31
jdk2588?04:31
spivOr if you prefer you can use the BASE/THIS/OTHER files (which can work well if you use a tool like 'meld' to help)04:32
spivWell, you should resolve it.04:32
spivBasically, there are two different changes to the same region of the file.04:32
spivAnd bzr can't apply both of them automatically, so it's up to you to figure out what the right result would be.04:32
spivIt might be to just take the THIS version, or the OTHER, or you might need to combine the differences somehow.04:33
spivThe right thing to do depends on the individual circumstances, which is why bzr can't just take care of it for you automatically.04:33
jdk2588ok got it04:34
spivjdk2588: http://doc.bazaar.canonical.com/bzr.2.2/en/user-reference/conflict-types-help.html#text-conflicts04:34
jdk2588ok thanks for help and your link :)04:34
m3gaanyone have any ideas how I can recover from this problem : https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/61722406:48
ubot5Launchpad bug 617224 in bzr (Ubuntu) "bzr crashes on 'bzr status' (affected: 1, heat: 6)" [Undecided,New]06:48
spivpoolie: can you help m3ga?  I think you have wt/dirstate issues more fresh in your mind than I do.06:53
poolieoh hi06:54
m3gahi!06:55
m3gabummer to happen last thing on a friday.06:56
pooliesorry about that06:56
pooliedo you recall what you did leading up to this?06:56
poolieit looks like bug 37331906:56
ubot5Launchpad bug 373319 in Bazaar "mv --auto does not handle directory adds mixed with the contents of a directory splitting in two: InconsistentDelta error (affected: 2, heat: 1)" [High,Confirmed] https://launchpad.net/bugs/37331906:56
m3gabzr rm lib/oldxmlrpc06:57
m3gawhich was a tree of about 10 files06:57
poolienothing else?06:57
m3gaactually, the bzr rm was in a hardy chroot with the hardy version of bzr, but the hardy version screwed is so it remained screwed when i exited the chroot and ran the lucid bzr06:59
m3gaon hardy it was bzr 1.3.107:00
m3gathat makes it a little more complicated doesn't it? :-)07:00
poolieit might be something already fixed since hardy07:01
m3gaget into the problem yes, but getting back out?07:02
poolieprobably you should just make a new checkout,07:02
poolieeg by branching, and then moving that over the top07:02
poolieyou might want to add the ~bzr ppa to your hardy chroot07:02
m3gabzr branch broken broken.2 gets "bzr: ERROR: exceptions.AssertionError: Could not find target parent in wt: lib/oldxmlrpc"07:03
spivpoolie: tangentially, you might want to look at https://bugs.edge.launchpad.net/ubuntu/+source/bzr/+bug/264275, it appears your work on #192859 has almost fixed it.  I left a comment.07:05
ubot5Launchpad bug 264275 in Bazaar "bazaar internal error if adding file in a linked directory (affected: 0, heat: 5)" [Undecided,In progress]07:05
poolieoh thanks spiv, when i eventually get back to prague i think a bunch more may be just about fixed07:06
pooliem3ga: could you paste the traceback into bug 373319?07:07
ubot5Launchpad bug 373319 in Bazaar "mv --auto does not handle directory adds mixed with the contents of a directory splitting in two: InconsistentDelta error (affected: 2, heat: 1)" [High,Confirmed] https://launchpad.net/bugs/37331907:07
m3gapoolie: save traceback i posted in #617224?07:08
m3gas/save/same/07:08
poolieno, from the error when branching07:09
m3gaok will do07:09
m3gadone!07:12
m3gabasically my going home time now :-) will probably bug you about it some more on monday.07:14
poolieok, have a good weekend07:26
pooliebialix, i'm working on bug 58566708:29
ubot5Launchpad bug 585667 in Bazaar "User Reference has an empty list of commands in 2.2 (affected: 1, heat: 2)" [High,In progress] https://launchpad.net/bugs/58566708:29
jdk2588_when I am merging from a different branch , I want that few files should not be merged08:52
jdk2588_because it creates a conflict by renaming the old file to <filename>.moved08:52
jdk2588_and when I rename the file <filename>.moved to the original file it shows original file to be removed08:53
=== maxb_ is now known as maxb
pooliejdk2588_: probably the easiest thing is to just revert those files after the merge, before committing09:04
* spiv feeds a branch to PQM and signs off for the weekend09:12
spivG'night all, see you Monday.09:16
pooliecheerio spiv, have a good weekend09:18
jdk2588_poolie: there ?10:34
pooliehi10:34
pooliebut not for much longer10:34
jdk2588_I was upgrading my launchpad branch for rich-root . but lost the connection10:35
jdk2588_now it is in unstable mode10:35
jdk2588_neither I can get the branch noe do anything10:36
jdk2588_poolie: can you just help with this10:37
pooliewhich branch?10:37
jdk2588_the branch in which I have to commit , lp:~systers-dev/systers/membership10:38
poolieif you have a copy of it locally it might be easiest to delete that and re-push?10:38
jdk2588_can't it be avoided ?10:38
pooliei mean delete it from the server, using the web ui, then re-push it10:39
pooliei'll have a look at it10:39
jdk2588_as other members are also subscribed to it10:39
poolieah ok10:39
jdk2588_and I can not staright away delete it :)10:39
jdk2588_*straight10:40
maxbjdk2588_: There is a better option, to preserve subscriptions.10:40
maxbIf there is no nicer way to fix it, you can delete the content of the branch using a sftp client, and bzr push --use-existing-dir10:40
jdk2588_wont it remove the subscribers10:41
jdk2588_?10:41
maxbdeleting it in the web UI would10:42
maxbjdk2588_: Are you familiar with the 'sshfs' command for mounting a remote sftp location as if it was part of the local filesystem ?10:42
* jdk2588_ googles 'sshfs'10:42
poolieyes, what maxb said is probably best10:42
jdk2588_and how do I preserve the Subscribers10:43
pooliejust for future reference, there is an 'upgrade' button in the web ui, i think10:43
pooliejdk2588_: if you just delete it over sftp not through the web ui, the subscribers will be preserved10:43
maxbI would recommend not deleting it at all. There is a better way10:43
maxbmkdir /tmp/mountpoint10:43
jdk2588_ok10:44
maxbsshfs bazaar.launchpad.net:~systers-dev/systers/membership /tmp/mountpoint10:44
maxbcd /tmp/mountpoint10:44
maxbmv .bzr backup.bzr.~1~10:44
maxbmv backup.bzr .bzr10:44
jdk2588_or one thinng I can do is to move backup.bzr to .bzr10:44
jdk2588_yes10:44
maxbcd /10:44
jdk2588_this is a good option10:44
maxbfusermount -u /tmp/mountpoint10:44
jdk2588_thanks maxb10:45
jdk2588_you saved my day :)10:45
maxbAt that point, you should be able to access the branch with bzr again. The launchpad web UI may be a bit confused until you next do a bzr write operation on the branch (a no-op push will do)10:46
jdk2588_maxb: done ! Thanks10:48
jdk2588_:)10:48
maxbOk! Now, on the branch's web page, you should see an "Upgrade" link. If you click it, Launchpad will upgrade the branch to 2a format at some point in the future (hopefully quickly)10:50
jdk2588_so will it upgrade the rich-root  for the branch ?10:51
jdk2588_yes I can see that "Upgrade this branch"10:52
jdk2588_is olive 0.11 is the latest version ?11:40
jelmerI don't think there really has been a release since it was split out.11:43
zygahello, which plugin provides lp-propose-for merge command? I cannot find it anywhere and I keep remembering that other folks were using that often11:51
=== ddaa1 is now known as ddaa
=== AnMaster is now known as Vorpal
=== khmarbaise_ is now known as khmarbaise
=== Vorpal is now known as Vorpal_
=== Vorpal_ is now known as Vorpal
=== zyga is now known as zyga-lunch
dobeyif i have a WorkingTree object, how do add a new file to it from the python code?15:35
jelmerdobey: wt.add([path1, path2, path3])15:36
=== zyga-lunch is now known as zyga
dobeyah, that easy eh? thanks15:37
=== deryck is now known as deryck[lunch]
=== deryck[lunch] is now known as deryck
=== Ursinha is now known as Ursinha-lunch
=== beuno is now known as beuno-lunch
edakiriGlossary is missing.  http://bazaar.canonical.com/BzrGlossary/18:24
jelmeredakiri, http://wiki.bazaar.canonical.com/BzrGlossary/18:25
edakirithanks.  I hope the dead links get fixed.  I don't have commit privileges.18:26
jelmeredakiri: please file a bug about the dead link18:34
edakiridone18:40
=== Ursinha-lunch is now known as Ursinha
=== beuno-lunch is now known as beuno
=== AnMaster is now known as Vorpal
aaron01If i try to bzr import a tarball that contains a .bzr dir, it fails with "error: tree transform is malformed" (related: https://bugs.launchpad.net/bzrtools/+bug/237933).20:26
ubot5Launchpad bug 237933 in bzrtools (Ubuntu) "attempting to import a directory/archive containing a .bzr directory gives a fatal "tree transform is malformed" error (affected: 1, heat: 4)" [Undecided,New]20:26
aaron01nm read the merge date on that patch wrong. Thought I was getting error with patch.20:48
=== oubiwann is now known as oubiwann-away
jdk2588how can we get a branch with older version ?23:41
Meths-r  to specify a revision23:42
Methsbzr help revisions23:42
=== Ursinha is now known as Ursinha-afk

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