/srv/irclogs.ubuntu.com/2012/08/03/#bzr.txt

bignoseI've accidentally done ‘bzr pull . -r revid:blah’ on the wrong branch02:29
bignoseand now I want this branch to be back to where it was02:29
bob2do you know where it was02:29
bignoseI know the revid I need to get back to, but when I pull to that it just says “No revisions or tags to pull.”02:30
bignosebut the history is still for the wrong branch.02:30
bob2can you just reclone02:31
bignoseI don't know, will that not destroy things like shelves?02:31
bignoseI'd prefer to do it with ‘pull’ since that seems the right operation for fixing this non-destructively02:31
bignoseso, ‘pull’ both pulled in the revision, and switched the history of this branch.02:33
lifelessbignose: bzr pull -r xxx --overwrite02:33
bignosenow attempting to ‘pull’ it already has the revision it needs, but refuses to change the history this time.02:33
lifelesspull won't do anything if you are pulling a successor02:33
lifelesssorry, a predecessor02:34
lifelessunless you tell it you mean it02:34
bignosebizarre. now I'm getting “Unable to obtain lock filtered-46882576:///~benf/Projects/bnv/cam/trac-380_setup-supertues-2012-09/.bzr/branch/lock”02:35
bignoseand every time I break the lock, then ‘bzr pull …’ again, it complains about the lock again.02:35
lifelessis the branch bound ?02:36
bignoseyes02:36
lifelessso pull is locking both the master and the slave02:36
bob2bound:|02:37
bignoseand ‘break-lock’ is different?02:37
lifelessthere are two possible things here, IIRC break-lock only checks the specific branch02:37
lifelessso you may need to break-lock both branches02:37
bignosethe thing is, it appears to be a new lock each time02:38
bignose“locked 2 seconds ago” every time02:38
bignosei.e. the lock is occurring within the execution of ‘bzr pull …’, but then it's complaining about it before it completes.02:38
lifelesscan you pastebin, bzr info -v, the exact command you're running to do the pull, and the contents of .bzr/branch/branch.conf somewhere?02:39
bignoseshall do, thanks02:39
bignoselifeless: <URL:http://dpaste.org/ZNWIt/>02:41
lifelessok, its possible that you have found a bug (well, clearly its a bug that this doesn't work, but you know what I mean)02:42
lifelessI suggest:02:42
lifelessbzr unbind02:42
lifelessdo the pull02:42
lifelessdo a bzr push --overwrite <full url here>/trac-380_setup-supertues-2012-0902:43
lifelessthen bzr bind02:43
lifelesswhich should get you past the situation02:43
lifelessand then file a bug describing it, the version of bzr, and include the contents from that pastebin02:43
bignoselifeless: thank you.02:45
bignose(using ‘bzr bind’ before ‘bzr push --overwrite’ worked, and meant I didn't need to specify the remote location.)02:45
lifelessnp02:48
bignose:-( still won't let me file a bug without making a new Launchpad identity02:51
lifelessin your case I believe that that is 'a' Launchpad identity02:51
bignoseso I'll have to leave that to someone with an account there.02:51
bignose$ bzr version02:53
bignoseBazaar (bzr) 2.6.0dev202:53
bignoseon Debian Wheezy.02:53
lifelessthanks02:54
bignosethank you all!03:09
vilajelmer: ping, can you look at bzr.dev revno 6207.3.2 (merged in revno 6214) and explain me why you changed bzrlib/tests/__init__.py there ?07:40
vilajelmer: I found that while investigating an almost unrelated issue and couldn't understand the comment about  http://pad.lv/82502707:41
ubot5Launchpad bug 825027 in Bazaar "create_safety_net is brittle" [High,Fix released]07:41
mgzmorning!08:06
vilamorning mgz08:10
mgzhow are you vila?08:11
vilafine :)08:11
vilafound another weird merge circa revno 6214, see my last mp08:11
=== yofel_ is now known as yofel
=== slank` is now known as slank
=== zyga is now known as zyga-afk
=== deryck is now known as deryck[lunch]
=== deryck[lunch] is now known as deryck
=== glyph_ is now known as glyph
mgrandiwhy would libsvn.dylib not be loaded? or missing?19:18
mgrandido i need to reinstall svn or something?19:18
jimishi all, I work on light checkout of a tree-less repo. To rename a branch on that repo can I just rename the directory?23:37
jimisWhat about the checkout dir, will it understand the change?23:38
fullermd_mv'ing the branch by itself is fine.  You'll have to update things that point to it to the new location.23:49
fullermd_Checkouts would be one such thing.  Saved locations (push, pull, etc) in other branches referring to it would be another.23:49
=== fullermd_ is now known as fullermd
jimisthanks fullermd, I'll try it23:57
jimishow do I update a checkout?23:57
mnnmgz: if you're here, have you looked into InterTree.iter_changes(), why it does kind = (None, None) in some cases?23:58

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