/srv/irclogs.ubuntu.com/2009/08/15/#bzr.txt

ronnysup00:10
ronnyis there any simple way to get a git diff between 2 bzr revision trees00:10
* ronny pokes lifeless 00:17
lifelesssorry, no00:18
lifelessnot that I know of anyway; bzr-git might have something00:18
ronnyi dont think bzr-git will need it00:19
jelmerronny: what is a git diff?00:20
jelmerronny: there's some initial work there in "bzr send --format=git" to behave like git format-patch00:21
jelmeris that what you mean?00:21
ronnyjelmer: i want to get git style diffs betwen 2 revisions (ie the extra lines with rename/add/remove metadata), i never used gits format-patch00:22
wgrant'bzr diff' gives me that information.00:26
ronnywgrant: not in the same format as git00:26
ronnydirectory renames are more concise tho00:26
cellofellowwhere might I find the bzrlib.plugins.stats module? I'm assuming it's a plugin? Trying to install bzr-gtk from trunk and it says it needs that module.00:38
james_wcellofellow: the bzr-stats plugin00:40
cellofellowoh, duh00:40
cellofellow:)00:40
verteroklifeless: fwiw, looks like there is a eclipse package >= 3.4 in karmic :O00:43
lifelessI'm running karmic...00:44
verteroklifeless: https://edge.launchpad.net/ubuntu/karmic/+source/eclipse00:44
lifelessoh, this is interesting..00:44
lifelessVersion: 3.4.1-0ubuntu2 yeah00:45
verteroklifeless: it's still old, but not "years" old00:45
lifelessI was seeing..00:46
lifelessVersion: 3.2.2-5ubuntu300:46
lifelessmust been new in the archive ;)00:46
lifelessI haven't updated for a week I think00:47
* verterok --> dinner00:49
cellofellowbzr-gtk nautilus plugin is very slow. :(01:58
cellofellows/plugin/extension/01:58
=== lamont` is now known as lamont
JoaoJoaohowdy02:09
poolieigc1: hi?07:02
fullermdpoolie: Aaron's away until after 1.18 is intended to be released, right?07:03
pooliei think so07:03
fullermd'k.07:06
fullermdOh, rolled over another ten million on launchpadlibrarian.  Neat.07:13
alexharringtonHi everyone. Does someone have a few minutes to help me with upgrading repository formats? I'm working on the Xibo project, which is developed cross-platform, and we keep having issues with line endings getting mixed up. I've upgraded to 1.17 and written a rules file, but I'm not sure how I go about upgrading the whole project (in Launchpad) and associated branches to use the new format.10:03
alexharringtonI converted one over, and it shows Branch Working Format 5, but when I then branch from that it comes up as format 4?10:03
alexharringtonI guess what I'm asking is do I have to upgrade the stable/development trunks first, then my branches? Or can I do stuff in any order? And what is it that causes future branches to use the newer format?10:10
AfCalexharrington: asking here never hurts, but if you don't get an answer I'd recommend mailing their list.11:19
alexharringtonyeah - I'm posting on Launchpad Answers now - see if I get any joy there11:19
alexharringtonthanks11:19
AfCalexharrington: actually, I said Bazaar's mailing list.12:04
james_wanswers is fine12:04
=== cprov-afk is now known as faces
=== faces is now known as cprov
Noldorinhello. could anyone please tell me the file in the source in which unlocking is done?13:26
Noldorin(including the rename to unlock)13:26
LarstiQNoldorin: bzrlib/lockdir.py ?13:44
LarstiQNoldorin: combined with .unlock() on branch/repository/tre13:44
ProteuskorI have a quick question about permissions after an initial branch. If I do the branch locally. bzr branch <dir1> <dir2> the umask is honored16:08
Proteuskorhowever if I do it using the bzr+ssh method bzr branch <dir1> bzr+ssh://user@host/path it doesnt honos the umask16:09
Proteuskors/honos/honor16:09
Proteuskorso I have to manually chmod -R g+r /path on the server for every created branch :(16:09
Proteuskorchmod -R g+w rather...16:12
Proteuskorhas no one here ever tried to have a multi-user bazaar server using the bzr+ssh method?16:15
Proteuskorwell, adding os.umask(002) right after the if __name__ == '__main__': might be a nasty hack but it works for now... bzr should really fix the bzr_ssh method to honor the umask as set in /etc/profile... perhaps its not running the shell in login mode so /etc/profile isn't being executed. This won't work for multi-user environments...16:27
vilaProteuskor: please report a bug and your work around, no everybody will read the IRC logs...16:28
ProteuskorI wonder if its a misconfig of my system still :) thats why I was asking here first16:29
Proteuskorcould be my strange ssh server (I use dropbear because of its reduced memory footprint)16:29
vilaoooh, is that you that plays with tiny servers ? :-D16:29
vilas/that/who/ oops16:30
Proteuskorindeed16:30
vilahmm, well, at least, instead of your "nasty hack" (your words :) you can just define a wrapper and set BZR_REMOTE_SSH16:30
vilaerr, BZR_REMOTE_PATH (see bzr help env-variables)16:31
Proteuskorok, let me look into that real quick :)16:31
vilathat way you eon't have to patch bzr every time (if it's due to your config)16:32
Proteuskorya, I like that idea better, thank you16:32
Proteuskoralthough I'm not yet sure how to get my windows users to tickle that setting via the tortoise GUI16:32
vilaand remember that BZR_REMOTE_PATH can also be set in config files (don't remember the config variable name though)16:33
vilalol, messages crossed on the wire16:33
Proteuskorok, I can prolly just distribute a config file to all of the users then :D16:33
ProteuskorI am actually new to bzr, I used to use perforce, just because thats what the company was using when I joined16:34
Proteuskorcomming up the learning curve now16:34
vilahehe, the pleasure is in learning a little bit every day :-D16:34
Proteuskori think the real fix is to get the ssh transport to use login mode so /etc/profile is processed before calling the specified server. That way the systems configured umask is honored... but there may be a reason they didnt want to use login mode. If the comment at the top of transport/ssh.py is right I could email robey pointer and just ask. I dun want to file a bug if there is a good reason for the current behaviour16:39
vilaProteuskor: robey doesn't work on bzr these days, you'd better file a bug, you'll get a far better tracking of the issue, really16:40
Proteuskorok16:40
AirBenderHello guys16:43
AirBenderis there a way to override make AC_PACKAGE_VERSION in autoconf reflect the current revno in a bzr branch?16:44
AirBenderto make*16:44
vilaAirBender: hacking around: bzr version-info --custom --template "{revno}"16:47
AirBendervila: yeap, but do you know the procedure to make AC_PACKAGE_VERSION read a file with the revno, or execute this bzr command to get the number?16:49
vilaI know nothing about autoconf except using it :)16:49
AirBenderbecause in AC_INIT I can't put a macro I think...16:50
AirBenderme too lol16:50
AirBenderbut I'm pretty sure there's a simple way to do this... I don't like to change manually the revno every time in configure.ac16:51
vilaDid you ask Google? :-)16:53
weigonhttp://doc.bazaar-vcs.org/bzr.dev/en/release-notes/NEWS.html#in-development has two bzr 1.18 releases16:53
vilaweigon: the more the merrier !!16:54
weigonplease add at least a 3rd :)16:55
AirBendervila: yes I have, but may be I'm searching in the wrong way...16:56
vilawell, most of the time yo found in the last place you search so... keep digging :)16:59
=== Xavura is now known as Xavur[a]
=== Xavur[a] is now known as Xavura
johnjosephbachiris there any way to have access control with `bzr serve` ?19:36
jfroyis there a known bug with 2a and patch files?20:05
jfroyI just tried to apply a merge bundle someone sent me, and bzr died with AttributeError: 'AbsentContentFactory' object has no attribute 'get_bytes_as'20:05
jfroymmm actually no20:07
jfroythe branch has the problem20:07
jfroyit dies with the same error when doing bzr check20:07
jfroyso I branched the bad branch with 1.18rc20:18
jfroyand the new branch looks ok (according to check)20:18
jfroyhowever now the merge command is failing with "bzr: ERROR: Bad bzr revision-bundle: "Can't convert to target format"  "20:19
jfroywhatever the hell that means20:19
denysjohnjosephbachir: not at present, but I just started working on it20:25
johnjosephbachirdenys: cool. so it seems like the only read/write hosting solution with access control that doesn't require making OS users is webdav, yeah?20:26
denysjohnjosephbachir: and ssh to some extent20:28
fullermdNo, you could use the smart server over HTTP.20:47
fullermd(and of course over ssh doesn't necessarily require system users, since you can putz with how sshd authenticates)20:47
teolicyHi. I'm a git user. A few months ago I wanted to contribute to a project using bzr, and installed some old version of bzr (maybe 1.6?). Today I updated my bzr to 1.18rc1, because I want to contribute to a different project.21:01
bialixthat's ok21:02
teolicyAfter the upgrade, upon running bzr status in the repository I branched, I get an uncaught TypeError. I read a bit and found this bug to match what happened to me: https://bugs.launchpad.net/bzr/+bug/33420221:02
ubottuUbuntu bug 334202 in bzr "internal error occured on bzr status" [Undecided,Fix released]21:02
teolicyThe workaround works and indeed I have bzr-loom 1.4dev in the output of bzr plugins.21:03
teolicyThe question is: I'm not sure how to remove the plugin altogether, and, more importantly, since I'm not well versed in bzr I don't know if bzr-loom is a very important and often used plugin or not.21:03
teolicyRecommendations?21:03
bialixrun `bzr plugins -v`21:03
bialixit will tell you where plugin located21:04
teolicyAnd I just rm -fr it?21:04
bialixgo there and delete loom directory21:04
bialixyep21:04
teolicyExcellent, very nice.21:04
bialixbzr-loom provided special workflow, so in most cases you don't need it21:04
teolicyAnd indeed bzr works now.21:05
teolicyOKie, thanks a bunch.21:05
bialix:-)21:05
teolicyYou know what, while I'm here, another question.21:05
bialixshoot21:05
teolicyI might have my terminology a bit git-ish, I hope you'll understand me. The feature I probably like best in git is 'git rebase -i'.21:06
bialix-i means interactive?21:06
teolicyAfter doing a series of local commits on my repo, and before I 'pushed' the changes to the upstream repo, I can see my local changes, edit them, edit their commit messages, reorder them, squash them into one commit, etc, etc.21:06
teolicyYep.21:06
teolicyIs there something similar to play with in bzr?21:06
bialixno, there is rebase but it has no -i21:07
teolicyOK, never mind. I'll do without for now.21:07
teolicyThanks again, see you around bialix.21:07
bialixnp21:07
denysfullermd: is usage of the bzr server over http mentioned/described/explained somewhere?21:20
awilkinsdenys: Windows or Linux?21:34
denysawilkins: access control, you mean?21:37
awilkinsHTTP server21:38
denysawilkins: linux21:38
sinelawhelp! on windows, bzr add on a specific subdir fails with ERROR: "blabla..."  is not a working copy23:22
Noldorinlifeless: ping?23:24
Noldorinsorry to bother you again :)23:24
sinelawcrap. bzr does that because the subdir is versioned by .svn23:30
sinelawbut who cares!23:30
sinelawdid I ask bzr to give a damn about svn?23:31
sinelawthe error is very confusing.23:31
wgrantsinelaw: Do you maybe have bzr-svn installed?23:32

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