=== wedgwood is now known as wedgwood_away [02:23] stupid question: if I did a 'bzr merge ' without first committing my local changes, is there a way I can back-out the changes pulled in by the merge? [02:23] 'bzr revert' will undo all my local changes, which isn't what I want [02:24] and 'bzr revert --forget-merges' just removes the merge marker, not the changes that came with it [02:27] merge wouldn't run in the first place unless you --force'd it. [02:27] fullermd: sorry, I just worked out, it was a 'merge' and then an 'unshelve' [02:28] Ah. Messy. I'm not sure you could unwind that too easily... [02:29] One possibility might be to try doing the merge over again in reverse, in the hopes that it'll squeeze out the 'merge' changes leaving just the 'unshelve' ones, then you can cleanup and retry from there. [02:29] fullermd: ok, thanks [02:29] Another might be to try shelving the whole pile of changes (including the merge, so you're left with a clean tree). Then do the merge again, and commit it. [02:29] Then unshelve; that might leave the merge bits of it "unchanged" (from the now-committed merge) and include just the bits that were on the shelf before. Or it might blow up messily; not really sure. [02:31] heh, ok [02:57] thomi: I'd also suggest what fullermd said, shelve the changes you want to keep [04:38] imho unshelve should need --force to restore to modified files [04:48] bob2: +1 [04:49] bob2: mmm, not merge in ? [04:50] lifeless, if you --force it, sure [04:51] otherwise it more or less can lose data [04:59] bob2: mmm, or it could make a backup file. [05:00] it could [05:05] silently mashing up my data by default like 'svn up' is unfortunate [05:09] bob2: yeah, mashups are *so* 2009 [05:13] haha [10:41] hello [10:42] i want to do a bzr up on one file, but when i do it, it update all commit file, what is the way to do it ? === mmrazik is now known as mmrazik|lunch === mmrazik|lunch is now known as mmrazik [11:39] Zmanu: there isn't. bzr works on a full tree at a time for update/pull [13:21] lifeless: ok i see, we need to work with revision to be abble to up only some files instead of all files [13:23] lifeless: thanks for answer === mmrazik is now known as mmrazik|afk === wedgwood_away is now known as wedgwood === mmrazik|afk is now known as mmrazik [16:22] can I do "merge-into" remotely to get left-right merge history correct [16:22] instead of cloning trunk, going into it, and doing bzr merge ../my-current-branch [16:22] * xnox simply wants $ bzr merge-into lp:trunk & bzr push :parent [16:25] Not really. [16:26] Well, I guess you could conceptually do it be [ab]using the terrifying auto-pivoting that bound branches do on divergence. But I'm confident that will cause more problems than it solves, based on the nigh-infinite ratio of past experience. [16:29] =))))) === mmrazik is now known as mmrazik|afk === deryck is now known as deryck[lunch] === yofel_ is now known as yofel === deryck[lunch] is now known as deryck [20:51] abentley: ping [20:51] abentley: got a question about reconfigure command [20:51] thumper: pong [20:51] Sure. [20:52] with --lightweight-checkout [20:52] so... I have this branch in my GOPATH [20:52] something like juju-core [20:52] and I'm not overly enamoured with cobzr [20:52] so I thought I'd use my normal layout and switch [20:52] so... ~/src/juju-core/trunk is a copy of trunk [20:52] in my normal layout [20:52] so my locations.conf is all set up etc [20:52] branch or tree or both ? [20:52] lifeless: my ~/src/juju-core is a shared repo with trees [20:53] Ideally I'd like to work in a similar way I am with a virtual env I have [20:53] where I just switch the actual work branch [20:53] :~/go/src/launchpad.net/juju-core$ bzr reconfigure --lightweight-checkout ~/src/juju-core/trunk/ [20:53] bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~thumper/juju-core/trunk/". [20:53] so what I have is a treeless repo with N branches and a single working tree 'working' with a lightweight checkout of one of the branches [20:54] thumper: It sounds like ~/go/src/launchpad.net/juju-core is already a checkout and refers to bzr+ssh://bazaar.launchpad.net/~thumper/juju-core/trunk/ . [20:55] thumper: what does bzr info say? [20:55] lifeless: I used to work that way a long time back... [20:55] lifeless: just got into the habit now have having trees in ~sr [20:55] c [20:55] the trees in the repo aren't really an issue AFAICT [20:55] the parent branch for the existing juju-core branch is: [20:55] http://bazaar.launchpad.net/~gophers/juju-core/trunk/ [20:55] why did reconfigure fail? [20:55] abentley: standalone tree [20:56] thumper: There's no reference to bzr+ssh://bazaar.launchpad.net/~thumper/juju-core/trunk/ in the "bzr info" output? [20:56] not that one, no [20:56] however... [20:56] ah... [20:57] that is the public branch specified for ~/src/juju-core/trunk [20:57] using my append path policy [20:57] the parent branch is bzr+ssh://bazaar.launchpad.net/+branch/juju-core/ [20:57] why is reconfigure looking at the public branch? [20:58] but ~/src/juju-core/trunk is a repository tree [20:58] thumper: It's been a few years since I wrote that. Can you run reconfigure with -Derror so I can see where it's dying? [20:58] sure [21:00] abentley: http://paste.ubuntu.com/1653507/ [21:02] abentley: perhaps I should just specify a public branch for the branch at ~/src/juju-core/trunk ? [21:02] abentley: but I'm not sure why it is even looking [21:02] thumper: So, I can delve into why, but by specifying --bind-to will override it, and you probably want that anyway. [21:03] abentley: ah... [21:03] didn't notice that [21:03] now it kinda makes sense... [21:04] oh... [21:04] NotBranchError: Not a branch: "/home/tim/go/src/launchpad.net/juju-core/~/src/juju-core/trunk/" [21:04] abentley: I can fix that one by providing a full path [21:04] but probably a bug [21:04] thumper: What was the commandline? [21:04] bzr reconfigure -Derror --lightweight-checkout --bind-to=~/src/juju-core/trunk/ [21:05] yay bash! [21:05] thumper: ~ interpolation is done by the shell, which I guess wasn't smart enough to expand it in this case. [21:05] uh [21:05] no [21:06] oh yes, that is the problem [21:06] but bash is stranger than i thought: [21:06] thumper: bzr reconfigure -Derror --lightweight-checkout --bind-to= /src/juju-core/trunk/ should work. [21:06] mwhudson@narsil:highbank-support$ echo a=~/.bazaar [21:06] a=/home/mwhudson/.bazaar [21:06] mwhudson@narsil:highbank-support$ echo a-a=~/.bazaar [21:06] a-a=~/.bazaar [21:06] Or omit the = even. [21:06] mwhudson: wat? [21:06] that seems weird [21:06] i.e. bzr reconfigure -Derror --lightweight-checkout --bind-to /src/juju-core/trunk/ [21:07] grr, where'd the ~ go? [21:07] thumper: i think it's so that you can write "a=~/foo" [21:08] bzr reconfigure -Derror --lightweight-checkout --bind-to ~/src/juju-core/trunk/ [21:08] thumper: but yes, "wat" [21:08] abentley: ok, ta [21:08] now I just have the sync question... [21:08] in #juju-dev [21:35] $ bzr switch -b help-command [21:35] Tree is up to date at revision 894. [21:35] Switched to branch: /home/tim/src/juju-core/help-command/ [21:35] awesome! [21:35] I love bzr [21:36] it's all working lovely jubley === wedgwood is now known as wedgwood_away === wedgwood_away is now known as wedgwood === wedgwood is now known as wedgwood_away