/srv/irclogs.ubuntu.com/2011/01/07/#bzr.txt

=== Ursinha is now known as Ursinha-zzz
d3jakeI've encountered this error while trying to commit my project to a bzr repository hosted by sourceforge.net. http://pastebin.com/ahW8U8Ve This leads me to think that my bzr version is too new to work properly, is this a correct analysis?04:50
AfCd3jake: no, it means that for whatever reason the data on the server is in a *really* old format. If you can upgrade the server branches you'll fix the problem04:51
d3jakeAfC, Unless a change was made to bzr's format breaking backwards compatibility within the last three-four months, I don't see why this error would be happening. I was able to make commits without issues using a not-too-distantly-old version of bzr to the same repository.04:53
AfCIt's not the Bazaar version. I can't tell you what the error is, but it is doing a conversion to something (WAY) older than 2a, and so you're exposing yourself to trouble. Upgrade the server branch & repository if it's yours. And if it's not yours, ask them to. There's no reason, none, to not be using 2a04:54
d3jakeOhh, okay. So the problem is likely on sourceforge.net's end as they are the one's hosting the repository?04:55
AfC"hosting" is just disk space04:55
AfCwhose project is it?04:55
AfCyours or !yours?04:55
AfCand,04:55
AfCdo you have SSH access to the server?04:55
d3jakeThe project is mine. And no.04:55
AfChm.04:55
AfCWell, others can correct me if I'm wrong, but all you need to do is `bzr upgrade` the (branch and the) repository04:56
AfCI can't recall if you can do that over bzr+ssh. You might be able to, actually.04:57
AfCfailing that,04:57
AfCyou can bzr upgrade locally to 2a04:57
AfC(actually, it sounds like you have already)04:57
AfCand just overwrite completely what's up there.04:57
d3jakeSo, open a console, go into the root directory of my project, and type "bzr upgrade", and then some sort of command to force the changes onto the server somehow?04:57
AfCI'll let others take it from here; there are a few web pages out there on the topic I'm sure04:58
AfCbut short answer, yes04:58
d3jakeOkay, cool04:58
d3jakeThank you for your help :)04:58
AfCbzr info04:59
AfCwill guide you on your way04:59
AfCand read the help for upgrade04:59
d3jakeDoes it mean anything if bzr info tells me that my project is a standalone tree, and in format 2a? Does this mean that I need to upgrade the repo?05:00
AfCd3jake: your local tree?05:09
AfCIf it says that, then you're fine locally (and is the case as evidenced by the strange error you got)05:09
AfCd3jake: if it says that for the remote tree, you are finished05:10
d3jakeAfC: Yes, it is my local tree.05:10
d3jakeI'm wading through trying to see if I can et the remote tree fixed, but I'm nearing the time when I should shove off for the evening...05:10
AfCso just do05:11
AfC$ bzr upgrade bzr+ssh://path/to/remote/tree05:11
AfCthat'll work, or not05:11
AfCfailing that, just remove it and upload a new one05:11
d3jakeRemove it? As in delete the remote tree, and then reupload?05:11
d3jakeWouldn't I loose all of my revision history?05:12
d3jakeAh well, I need to bail. Thank you for your help.05:16
AfCIf you've got conflicts, can you use `meld` to sort it out?05:59
AfC(ie, "yes", but what's a good idiom?)05:59
spivAfC: not sure, but I'd be interested to hear if you find one!06:12
AfCspiv: ie, `bzr diff --using=meld` is vaguely a step in the right direction;06:12
AfCit seems like06:12
AfC$ meld path/to/file.OTHER path/to/file.THIS06:12
AfCis about right, but still, it's a bit fidgety06:13
TimMiaohello everyone, could anyone please tell me where can I set the proxy for bzr? to add a new line "http_proxy = http://some.proxy.address:port/" in bazaar.conf file doesn't work for me. Thanks!06:59
=== frakturfreak_ is now known as frakturfreak
vilahi all !08:18
fullermdEh?  Again?  Didn't you just say that yesterday?08:20
spivfullermd: it's like the days just keep coming and ocming!08:54
spivTimMiao: set it as an environment variable08:54
fullermdspiv: I know!  I'm _sure_ I never authorized that!09:05
vila. o O (Did I just saw this groundhog *again* ?)09:48
PengGroundhog? Does that mean I get six more weeks of insomnia? :D09:50
spivPeng: you could always transform that into six weeks of late-night Bill Murray movie watching!09:54
vilaI love this movie but... six weeks... wow :)09:56
quicksilvermy daughter was born on groundhog day.09:57
fullermdDid she see her shadow on the way out?09:57
=== Ursinha-zzz is now known as Ursinha
svakshahi, while checking out code I get  "bzr: ERROR: extra argument to command checkout". How do I solve it? TIA.12:37
beunosvaksha, what command are you running12:40
svakshabeuno: http://www.gnuenterprise.org/developers/bzr.php <-- trying to get the source12:41
svakshabzr co bzr branch http://bzr.savannah.gnu.org/srv/bzr/gnue12:41
beunoright12:41
beunoso you don't need the first part, "bzr co"12:41
beunojust:  bzr branch http://bzr.savannah.gnu.org/srv/bzr/gnue12:41
svakshabeuno: still throws this error, bzr: ERROR: Not a branch: "http://bzr.savannah.gnu.org/srv/bzr/gnue/".12:42
* svaksha tried it with sudo too12:43
beunosvaksha, FWIW, that page has it wrong12:44
beunonot sure if it can be reported12:44
beunohttp://bzr.savannah.gnu.org/srv/bzr/gnue 404s12:44
svakshabeuno: yes, but i dont know how else to get the source12:44
beunoand bzr co bzr branch is from12:44
beunosvaksha, try: bzr branch http://bzr.savannah.gnu.org/r/gnue/12:45
* svaksha has been trying different brz permutations with no luck12:45
svakshas/brz/bzr12:45
beunono, the url in that page is wrong12:45
svakshabeuno: that worked, thanks :)12:46
beunocool, np12:46
svakshabeuno: fwiw, I reported the error in their irc channel. So thanks!12:51
vilajelmer: ping13:00
=== oubiwann is now known as oubiwann_
jelmervila: hi13:48
vilajelmer: hi there13:48
vilajelmer: saw my pm ?13:48
jelmervila: no, thanks for the reminder13:49
frathgeber?nested13:52
vilajelmer: did you get failure reports from pqm ?14:05
vilajelmer: if yes, can you try feed-pqm my submission about 321320-isolate-doc-tests ?14:10
jelmervila: yep, I did get (strange) failure emails14:14
vilajelmer: don't resubmit mine ! Just got mails14:15
vilajelmer: what kind of strangeness ?14:18
jelmervila: I don't remember actually, I'll retry.14:29
vilajelmer: already failed right  ?14:33
vilajelmer: meh, misread the page.. again...14:34
vilajelmer: or not ?14:41
vilajelmer: you sent 2 requests ?14:41
jelmeryeah14:58
vilajelmer: got mail for the first one ?14:59
jelmerYeah - PQM test failure.14:59
jelmerRan 0 tests in 0.000s14:59
jelmerAnd empty output files attached15:00
jelmermerge http://bazaar.launchpad.net/~jelmer/bzr/daily-ppa http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev15:00
vilaha, I feel less alone :-/15:01
mgz...committing is broken again?15:06
mgzthat's not good, last thing to land was by me,,,15:06
vilamgz: don't be so paranoid :)15:08
vila. o O (Or how would we get you...)15:08
vilamgz: I looked at it, but saw nothing wrong15:08
vilamgz: my pqmlike setup is fine with my patch too :-(15:09
mgzmaybe it's not my fault and the pqm box just ate too much over xmas and hasn't recovered15:09
vilawell, nothing has landed since... unless you count failed submissions, pqm is on diet :)15:12
=== Ursinha is now known as Ursinha-afk
vilamgz, jelmer: sounds like the pqm *host* have been upgraded to lucid while we still run in a hardy chroot and there are.... unknown issues :(15:35
=== Ursinha-afk is now known as Ursinha
fullermdSee what happens when you use adjectives instead of version numbers?   :p15:36
jelmervila: ah15:38
vilajelmer: and stop queuing (s) my submissions, email (e) them instead when using feed-pqm:D15:42
=== Ursinha is now known as Ursinha-lunch
=== beuno is now known as beuno-lunch
=== beuno-lunch is now known as beuno
=== Ursinha-lunch is now known as Ursinha
PhoenixzA co-worker committed a change, pushed it, and I pulled it.. the commit is rubbish and should NOT be committed... How can I remove or revert this entire commit, and redistribute it?19:00
knighthawkI'm confused I just tried to commit to my central repo and it gave me a message saying that "No WorkingTree exists" I thought I didn't need a working tree for a central repo19:01
jelmerPhoenixz: you can commit the revert of that commit, e.g. "bzr revert -r -2 && bzr ci -m 'revert broken commit'"19:02
knighthawkPhoenixz, can you just revert your copy then commit it?19:02
jelmerknighthawk: you shouldn't need a workingtree indeed - how are you committing to the central repo?19:02
knighthawkjelmer, 'bzr commit -m "update repo" sftp://path to repo'19:03
jelmerknighthawk: That will try to do a commit in that location19:04
jelmerknighthawk: You probably want to commit in your local branch.19:04
jelmerif your local branch is bound to the central branch the changes will automatically be pushed to the central branch. alternatively they can be pushed manually19:04
jelmerso you probably want:19:04
jelmer"bzr bind sftp://path to repo; bzr commit -m 'update repo'"19:05
jelmerbzr ci -m 'update repo' && bzr push sftp://path-to-repo19:05
knighthawkif I run bzr info It has the central branch set up for push branch and submit branch19:05
jelmerknighthawk: in that case you wouldn't need an argument for "bzr push", but you'd still need to run it if the branch is not bound19:06
knighthawkbut I would like to commit on my local as well. Right now I'm more concerned about getting my team up to speed on BZR so we can all use it.19:06
jelmerknighthawk: if you run "bzr ci -m 'foo'" without any other arguments it will commit to your local branch19:07
jelmerknighthawk: if you've bound the branch to another branch it will automatically push the new commit there as well (hence the "bzr bind" command I mentioned earlier)19:07
jelmerknighthawk: you don't have a bound branch from what I can tell, so you'll need to bind it manually.19:07
knighthawkjelmer thanks. I'll try the bound then see if that works.19:16
knighthawkbzr: ERROR: sftp://repos.grdev.com/opt/bzr-repos/grws/.bzr/ is not a local path.19:19
knighthawkwhen I try to commit after the bind.19:19
knighthawkbzr: ERROR: Permission denied: "/opt/bzr-repos.grws": [Errno 13] Permission denied19:22
knighthawkwhen I try to push19:22
knighthawkI want to remove a file from my working tree but don't want to remove it from my file system. I *should* have set up bzr ignore before it got picked up by my working tree but I didn't.19:24
knighthawknow how do I remove it without using bzr remove. or is there a way to tell bzr remove to leave the file on my filesystem?19:25
knighthawkjust found the --keep option. Thanks19:25
jelmerknighthawk: when you commit you shouldn't specify the remote repository19:31
achianghello, is there a way to completely revert a commit, the same way you would say, "git reset --hard HEAD^" ? the git command erases the -1 commit from history, forever as if it never existed19:33
achiangbzr merge . --revision -1..-2 kinda gets me close19:33
achiangbut i still see the -1 commit in my log19:33
james_wachiang, bzr uncommit19:35
achiangah!19:35
* achiang goes to read the man page19:35
achiangjames_w: perfect, thank you19:36
knighthawkjelmer, thanks I think that's what I was doing wrong.19:36
james_wachiang, you'll want a bzr revert as well to match reset --hard19:37
achiangjames_w: yeah, i just discovered that19:37
mgzbug 700000!20:26
ubot5Launchpad bug 700000 in software-center (Ubuntu) "software-center crashed with IndexError in _build_view(): list index out of range (dup-of: 631415)" [Undecided,New] https://launchpad.net/bugs/70000020:26
ubot5Launchpad bug 631415 in software-center (Ubuntu) "software-center crashed with IndexError in _build_view()" [Undecided,New] https://launchpad.net/bugs/63141520:26
mgz...is a dupe.20:26
PengWell, better luck with 800000.20:46
jelmerhehe21:10
jelmermgz: I managed to get 600000 IIRC :-)21:10
jelmerbug 60000021:10
ubot5Launchpad bug 600000 in hitchhiker (Ubuntu) "missing dependency on Bazaar" [Low,Fix released] https://launchpad.net/bugs/60000021:11
jelmeryup :)21:11
mgzgo jelmer :)21:11
jelmermy greatest accomplishment of 2009 :-P21:11
mgzhad a look at apache-bzr source.21:11
mgznice idea.21:12
jelmermgz: the code does indeed need some more work :-)21:12
mgz...that... wasn't the implication >_<21:13
jelmer:)21:13
jelmerThere was a reason the announcement said it was a PoC :-)21:14
mgzavoids the wsgi mess and confusion neatly at any rate.21:17
knighthawkI'm trying to remember the syntax to include the user name and password in the URL.22:42
knighthawksomething like sftp://username:passwd@example.com22:42
knighthawkonly that doesn't seem to be working, and I can't think of anything else.22:42
bob2don't do that for sftp22:43
bob2sftp://user@example.com/ does work, though22:43
bob2er "don't put passwords in there for sftp"22:43
knighthawkI've got members of my team using Windows. and I have no idea how to tell eclipse what password to use without putting it in the path.22:44
bob2nah, use ssh keys22:44
knighthawkperhaps in bzr I can tell it the passwd then eclipse wouldn't have to know but again. Don't know how to do that in windows.22:44
knighthawkhmmm that sounds like a good solution actually.22:45
PhoenixzA coworker of mine added, comitted, and pushed files into a repo that should not be there.. I pulled those files, and now I'm stuck with them. I want these files not only out of the WT, I want them out of the repo, I want that commit gone (the files are copyrighted, the repo is open source).. How can I undo / revert / remove this commit?23:23
maxbbzr uncommit23:23
knighthawkokay I'm confused again. I just did a commit to a central repos of revision 7. However whenever other members of my team try to update they just get revision 6 what am I doing wrong.23:24
maxbthats not much info to go on but the logical assumption would be that you've only committed locally23:25
bob2Phoenixz: exporting and importing are your only options afaik23:33
Phoenixzbob2: ok.. On a non-copyright issue then, is it possible to "uncommit" or unmerge those things away?23:35
Phoenixzbob2: like, remove commit 34... 34 will still be there in the repo, but at least won't affect files.. ?23:35
bob2yes, 'bzr rm' :)23:35
Phoenixzbob2: bzr rm is on file level.. there isn't anything like that on commit level?23:36
bob2kinda23:36
Phoenixzbob2: kinda... ? as in?23:43
bob2as in I'm not sure what the point is - bzr rm leaves stuff in the rev history the same way as bzr revert would23:44
maxbPhoenixz: the important question is: is the problem commit the last commit in the branch?23:47

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