/srv/irclogs.ubuntu.com/2012/01/30/#bzr.txt

=== r0bby is now known as robbyoconnor
vilahi all07:08
vilaheya poolie07:21
pooliehi there07:22
poolietime flies07:22
pooliehow are you?07:22
vilafine, was in Paris this past week-end ;)07:24
poolielucky you07:25
MerwinHi ! I pushed a modification on a remote repo, but I want to revert it locally and remotly08:43
MerwinShould I use bzr revert and the commit+push?08:43
Merwinvila ?08:52
vilaMerwin: ?08:53
MerwinGood morning ;)08:53
Merwin<Merwin> Hi ! I pushed a modification on a remote repo, but I want to revert it locally and remotly08:54
Merwin<Merwin> Should I use bzr revert and the commit+push?08:54
vilathe main question is about your remote branch, who is using it and did they already pull the modification ?08:57
MerwinNope, I told them to not pull08:57
MerwinWhat if they did? :08:57
vilaif not, uncommit/revert&tweak&whatever/commit/push --overwrite08:57
vilaif yes, they will need to pull --overwrite instead of a simple pull08:57
Merwinok08:58
MerwinAnd if they have not-pushed commits? :D08:58
vilathey'll need to merge and resolve the conflicts locally08:58
vilayou can also avoid the whole issue by just committing a reversed merge of your unwanted change08:59
vilai.e. your branch history will then contain both the change and the removal of the change instead of not mentioning the change at all :)09:00
vilaIt flows better with distributed workflows but ultimately is a mater of personal taste09:00
Merwinvila, you mike like "commit an 'inversed' commit" ?09:06
MerwinHere, I commited something I want to cancel, but they worked and modified the repo since my commit09:06
MerwinSo I have to undo what has been done in the commit, and recommit09:07
MerwinIs there a way to do this automatically ?09:07
vilawith X being your unwanted commit: bzr merge -rX..X-1 .09:09
MerwinHum, I'll try09:09
Merwinbzr merge -r371..371-1 .09:10
vila371..37009:10
Merwinbzr: ERROR: Requested revision: '371-1' does not exist in branch09:10
MerwinAh09:10
MerwinLol, I look stupid right now :p09:10
vilahehe, I don't think so, failing is the best way to learn09:11
MerwinNice, it worked very good09:12
MerwinI don't understand why I have to use merge here...09:12
MerwinBut it worked :p09:12
vilait's called a sherry-pick (merge a revision range instead of a branch) and is the easiest and safest way to reverse a change09:13
vilaheya mgz !09:13
mgzmorning!09:13
=== jam1 is now known as jam
Merwinvila, http://friendpaste.com/2TAVKpXwcJV3PdPlrlEOBn09:27
MerwinThis is because of the cherry-pick ?09:27
vilameh, check which branch is used for which command, 'bzr missing :push' should clarify a bit09:30
vilabut the 'diverged branches' is probably because you uncommit at some point or because someone else pushed there09:30
vilaMerwin: hmm, have a look at 'bzr config' too, you probably have a 'submit_branch' option defined now that is... confusing stuff, get rid of it09:31
vilaMerwin: 'bzr config --remove submit_branch'09:32
MerwinI think that when I did the cherry pick from '.', it changed the default branch location09:32
MerwinSpecifying the good location resolved the problem09:32
Merwinvila, thanks09:33
jelmer'morning poolie10:06
poolieo/ jelmer, mgz10:15
mgzhey poolie10:16
pooliejelmer, the bug for junk might be a dupe, but i support it either way10:39
jelmerpoolie: I'll have a look10:40
jelmerpoolie: I vaguely recall that jam once described it to me as a feature of baz or tla10:41
jelmermaybe that wasn't entirely the same thing10:41
jamjelmer: baz/tla did have a non-precious ignored file as a separate concept from a precious ignored file10:50
jamI think the final decision we had come up with, was actually to have a precious ignored10:50
jamand make standard ignored 'junk'10:50
jamat least I thought that was what poolie had settled on10:50
jambecause prob 95% of ignored files today are junk, and just a few cases where they are passwords, etc.10:50
mgzyup, that would be neat.10:51
dholbachhiya12:45
dholbachI was just wondering: can you see the private ubuntu bzr bugs?12:46
jelmerdholbach!12:46
dholbachhey jelmer12:46
jelmerdholbach: only those of us who are also ubuntu members12:46
jelmers/members/developers/12:46
dholbachok, I think I'll have a look at them now and see if there's anything private in there and unprivate12:46
jelmerdholbach: in other words, only poolie and me12:46
jelmerdholbach: thanks!12:48
dholbachok, they're public now12:49
dholbachjelmer, am I the first reporting problems with the new bzr/bzr-builddeb combo when it comes to UDD? :)13:00
dholbachfor some reason almost every udd merge I do brings me a crash (I collected 3 different ones now)13:01
dholbachah sorry, you're patch piloting - nevermind then :)13:01
jelmeroops13:04
jelmeractually, mgz is patch piloting this week13:04
jelmerdholbach: I haven't seen any other bug reports on it yet - can you send in bugs for the issues?13:04
dholbachyep, sent them already (923706, 923691, 923688)13:05
jelmerthanks!13:06
Alan502Hello, I've been trying to commit some changes to a project but I keep getting this error: bzr: ERROR: Cannot lock LockDir(chroot-64962512:///%2Bbranch/classlink/.bzr/branch/lock): Transport operation not possible: readonly transport can somebody help me?13:52
jelmerhi Alan50213:53
=== jelmer changed the topic of #bzr to: Bazaar version control <http://bazaar.canonical.com> | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: mgz
jelmerAlan502: what are you trying to do exactly?13:53
Alan502jelmer, hello :)13:53
Alan502i'm trying to commit changes to a project13:53
Alan502by using bzr commit -m "comment"13:53
fullermdI'd guess a checkout over http.13:55
Alan502bzr checkout?13:55
jelmerAlan502: as fullermd says, it does indeed sound like you're trying to do a commit but the location you're committing to doesn't allow writing.13:55
Alan502I see13:56
jelmerAlan502: are you perhaps committing in a local branch that's bound to something else?13:56
Alan502hmmm13:57
Alan502jelmer, I am trying to commit to a launchpad project that me and my friend created13:58
jelmerAlan502: how did you check out the launchpad project?13:58
Alan502I need to register on that project first at launchpad.net right?13:58
Alan502I just pull to get the files13:58
jelmerAlan502: did you create a checkout or an entirely new branch of the project?13:58
Alan502it says "not a branch"13:58
Alan502nooo13:58
Alan502i haven't created a checkout13:59
jelmerAlan502: how did you create what you have locally?13:59
Alan502how do I do it?13:59
fullermdLet's just shortcut to 'bzr info'   8-}13:59
Alan502bzr pull lp:name13:59
Alan502jelmer, let me check bzr info :)14:00
Alan502http://pastebin.com/0KrrcXfg14:00
fullermdRight, checkout.14:01
* fullermd wins!14:01
Alan502aha?14:01
Alan502xD14:01
jelmerAlan502: do you have write access to lp:classlink?14:01
jelmerAlan502: are you matthewowebb ?14:01
Alan502I guess that is the problem, I have to set that in launchpad right?14:01
fullermdI'm guessing you don't _want_ a checkout, considering you're pushing to a different location as well.14:01
Alan502nope14:02
Alan502Can I get write access as a different user=14:02
=== Quintasan_ is now known as Quintasan
jelmerdholbach: thanks for the bug reports. I fixed one, will have a look at the other two a bit later.14:05
Alan502i'm trying to use the gui on the ubuntu repositories :P14:08
vilajelmer: what's the possible values for quilt-tree-policy ?14:30
vilaha, found in the tests: applied or unapplied...14:32
vilajelmer: meh, it's still unclear to me which one I should use for the importer :) There is no 'leave-me-alone' acceptable value ;)14:32
jelmervila: the default14:41
jelmervila: quilt-tree-policy is disabled by default14:41
jelmervila: you probably mean quilt-smart-merge ?14:41
jelmervila: that's just a boolean option.14:41
vilaI meant the one that leads to the lxc failure14:42
jelmervila: you want 'quilt-smart-merge=False' for that14:42
vilaokydoky14:42
vilajelmer: ouch, I missed the ssl.ca_reqs=optional case14:51
vilajelmer: your second remark is still about the 'optional' case right ?14:52
jelmervila: yes15:02
vilajelmer: checking the lazy option: what the use case for 'optional' ?15:08
vilasounds like a  feature for python's ssl to allow backwards compatibility by using it as a default value15:09
jelmervila: it's useful if you talk to servers that don't actually have ssl certificates15:22
vilaerr, you mean a certificate signed by an unknown authority ? I don't think you can setup an https server without any certificate, am I wrong ?15:24
vilaotherwise that'd be an http server ;)15:24
dholbachjelmer, you rock!15:32
=== yofel_ is now known as yofel
SamBvila: Well, it *could* just make up a certificate on the spot. (Though that *would* consume a lot of CPU/entropy to no purpose ...)16:22
vilaNo, a certificate should be signed, you can't do that on the spot unless you also create the authority on the spot ?16:23
=== Guest8410 is now known as RenatoSilva
vilabut searching for certificateless ssl returns some results, there is apparently a rather obscure way to do that16:38
gypsymaurohi16:40
gypsymaurohow can I tell to bzr that my local files are correct and overwrite the modified on the repository?16:41
jelmerHI gypsymauro16:51
jelmergypsymauro:  just commit your local changes?16:51
gypsymaurojelmer: I've already committed changes form another host.. but I forget to done an update so now I want to take as good just my local changes17:00
jelmergypsymauro: merge?17:01
gypsymaurojelmer: of course, but 'cause I'm sure that local is perfect I just wont to overwrite remote :)17:03
jelmergypsymauro: in that case "bzr push --overwrite"?17:05
gypsymaurojelmer: can I pm you? just for not showing my paths :)17:13
gypsymaurobzr push --overwrite bzr: ERROR: Working tree ..... has uncommitted changes (See bzr status). Use --no-strict to force the push.17:14
gypsymauroit's a good idea?17:14
=== deryck is now known as deryck[lunch]
=== deryck[lunch] is now known as deryck
mgzokay, have a handle on bzr-explorer changes needed for filesystem watcher, just need to split up the code across the different bugs19:40
=== RenatoSilva is now known as la-fen
=== la-fen is now known as RenatoSilva
=== RenatoSilva is now known as Ramiel
=== Ramiel is now known as RenatoSilva
nDuffIs authentication.conf expected to work for bzr-svn?22:32
poolieo/ jam22:34
pooliejam, what we did vs tla was:22:36
pooliethe default is 'precious' because they might be precious (seems safer though a bit more annoying)22:36
nDuff...funny thing is that the logs indicate that it's seeing saved credentials: Obtaining username and password for SVN connection '<https://REDACTED:443> Authorized'(username: 'duffy')22:37
poolieallow them to be orphaned as a compromise between not losing them and not being annoying22:37
poolienDuff, i would guess libsvn will read it22:37
nDuff...but below that: PermissionDenied: Permission denied: ".": OPTIONS of 'https://REDACTED/svn/repos/puppet': authorization failed: Could not authenticate to server: rejected Basic challenge22:37
lifelessnDuff: perhaps something in .subversion/auth ?23:19
nDufflifeless: poked at it a bit -- the svn command-line tool is having no trouble using the cached credentials, which implies to me that that configuration is in a good state; still no love from bzr-svn.23:21
jelmernDuff: hi23:46
jelmernDuff: what platform are you on?23:46
nDuffjelmer: I'm using the bzr-svn-1.1.0-1 package (with bzr-2.4.1-1ubuntu1) from Linux Mint 12 (x86_64).23:57

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