/srv/irclogs.ubuntu.com/2008/03/10/#bzr.txt

Odd_Blokeabentley: Thanks for the review. :)  I'll resubmit tomorrow.00:05
abentleyOdd_Bloke: np00:05
abentleyOdd_Bloke: in fact, KeyError is at least a plausible exception for name_hook to throw.00:07
=== jamesh_ is now known as jamesh
mwhudsondoes anyone have a clue how to do log-type operations without a whole heap of whole-history operations yet?02:16
ubotuNew bug: #200412 in bzr "Undescriptive error message when user isn't part of LP team." [Medium,Confirmed] https://launchpad.net/bugs/20041202:31
redhi, i ran the command " bzr init-repo sftp://username@silenceisdefeat.org/~/repo" and bzr was hung up without any output. I use bzr 1.2 standalone win32 version under cygwin bash shell. How can I debug my problem?02:35
ubotuNew bug: #200413 in bzr-webserve "Rss feeds should show revisions" [Undecided,New] https://launchpad.net/bugs/20041302:36
bob2have a look in ~/.bzr.log02:39
redthx02:39
=== bpeterson changed the topic of #bzr to: "http://bazaar-vcs.org/ | Bazaar 1.2 is out! | https://launchpad.net/bzr/1.2/1.2"
redThis is the content of .bzr.log:03:02
redbzr arguments: [u'init-repo', u'sftp://username@silenceisdefeat.org/~/repo']03:02
redlooking for plugins in C:/Documents and Settings/jerryc/Application Data/bazaar/2.0/plugins03:02
redlooking for plugins in C:/Program Files/Bazaar/plugins03:02
redlooking for plugins in c:\Program Files\Bazaar\lib\library.zip\bzrlib\plugins03:02
redLooking for plugins in 'c:\\Program Files\\Bazaar\\lib\\library.zip\\bzrlib\\plugins'03:02
redNames in archive: ['__init__.pyc', 'launchpad/__init__.pyc', 'launchpad/account.pyc', 'launchpad/lp_indirect.pyc', 'launchpa03:02
redI can not figure out from this content. should i install python and bzr source to debug?03:05
Pengred: Certain -D options might help.03:06
PengI dunno.03:06
redok, I will try _D03:07
bob2you need a -Dxxx option, but I can't seem to find the list of them anymore03:08
Pengbzr help global-options03:08
PengI dunno which one would help though.03:08
redthx03:08
PengNone of them seem relevant to me.03:09
Pengred: Do other things over sftp work?03:09
Pengred: I'd guess it has to do with prompting you for your password.03:10
PengBut I dunno.03:10
redis this command correct " bzr -Derror init-repo --no-tree sftp://chenbin@silenceisdefeat.org/~/repo"? I tried "sftp://username:passwd@url03:11
redthere is no prompt for password if i run "sftp://username@url"03:11
PengYeah, but -Derror isn't helpful here..03:12
PengDoes ~ work?03:12
PengI've never used it.03:12
fullermdOn sftp it does; bzr+ssh doesn't.03:12
fullermd(but don't worry, that'll be fixed a release or two after the smart server is added)03:12
PengI just tried it on both sftp and bzr+ssh and it seemed to screw up badly.03:13
redreal command is "bzr init-repo sftp://username@silenceisdefeat.org/~/repo"03:13
PengNever mind, I'm an idiot.03:14
redI created repo at first on remote server03:14
redI cannot install software on silenceisdefeat.org03:15
Peng(I was using "sftp//" instead of "sftp://".)03:15
bob2does 'ssh username@silenceisdefeat.org ls ~/repo' work?03:15
redsh username@silenceisdefeat.org "ls ~/repo" does work.03:18
redssh username@silenceisdefeat.org "ls ~/repo" does work.03:18
redI've got it03:20
redthis seems a bug of bzr03:21
redI don't know why, but on the dos command shell, I succeeded and got the password prompt. in the cygwin, there is no password prompt and the whole program is hung up.03:22
redAs I mentioned af first, I install bazaar 1.2 standalone version. But I run the bzr command in cygwin bash shell.03:23
redI reported the bug at https://bugs.launchpad.net/bzr/+bug/200436. Thank you all.03:33
ubotuLaunchpad bug 200436 in bzr "bazaar 1.2 (standalone) failed in cygwin shell" [Undecided,New]03:33
ubotuNew bug: #200436 in bzr "bazaar 1.2 (standalone) failed in cygwin shell" [Undecided,New] https://launchpad.net/bugs/20043604:14
=== doko_ is now known as doko
Farhadixhi guys , where I can set what revision that I want to branch?08:59
PengHopefully he figured it out...09:13
muszekhi... I'm just learning bzr.  how would I find out when (which revnos) was a particular file changed?09:15
Pengmuszek: bzr log file? bzr annotate file?09:15
muszekPeng: thanks09:15
jelmerdato: ping11:21
datojelmer: pong11:30
jelmerdato: I was wondering if you could sponsor a bzr-dbus upload?11:32
datojelmer: yes, I noted it in my TODO when you sent mail to -maint11:40
jelmerdato: Cool, thanks.11:41
datojelmer: I just need to find a bit of time for it :)11:41
jelmer:-)11:41
jelmerWe missed at the sprint last week!11:41
* dato wonders if "you" or something else is missing above11:42
jelmeruhm, yes :-)11:42
dato*g*11:43
=== mrevell is now known as mrevell-lunch
=== mvo_ is now known as mvo
=== mrevell-lunch is now known as mrevell
uniscriptany idea when bzr-svn for bzr 1.2 will be available?13:46
jelmeruniscript: Hopefully somewhere at the end of this week13:49
uniscriptOK great ta13:49
=== FreeNode is now known as herb
nevansjelmer: I'm up to date with http://people.samba.org/bzr/jelmer/bzr-svn/stable/, and I'm getting "using experimental bzr-svn mappings; output may change between revisions" . . . there's nothing to worry about as far as normal usage (esp. with respect to data-loss), is there?  :-)14:01
jelmernevans: you should not be using it for production type data but a release instead14:03
ubotuNew bug: #200569 in bzr "[PATCH] v1.2 setup.py fails under python 2.3.5" [Medium,Confirmed] https://launchpad.net/bugs/20056914:04
nevansjelmer: thanks.  I'll switch to one of the release branches.14:07
nevansjelmer: should I delete my svn-cache or my bzr repo?  could running off of the newer code have "corrupted" either of them so that the older release branch of bzr-svn won't know how to cope?14:12
ubotuNew bug: #200575 in bzr ""Address already in use " crashes smart server" [Undecided,New] https://launchpad.net/bugs/20057514:16
jelmernevans: In theory, yes. In practice however, there haven't been any regressions recently afaik14:17
LarstiQjelmer: s/adaption/adoption/14:21
jelmerLarstiQ: ?14:22
LarstiQjelmer: the title of your blog post :)14:23
jelmerdoh!14:23
AfCjelmer: I forgot to ask you last week. What's the bzr-svn release that corresponds to bzr 1.2?14:39
jelmerAfC: There is none yet14:39
jelmerI had meant to release it last week but was distracted by other things14:40
AfCI'm sitting here at the GTK hackfest listening to these guys next to me absolutely slaughter themselves fighting with git usage. I'd like to just go "and here it is in bzr" but I kinda need to have my shit together first14:40
AfCjelmer: certainly14:40
AfCjelmer: no worries14:40
* AfC wonders if his distro has backported the subversion changes that bzr-svn relies on.14:41
jelmerAfC: what distro are you running?14:41
AfCI hope so. I had a very poor time trying to get subversion working built from source.14:41
AfCjelmer: Gentoo14:41
jelmerAfC: There is an overlay (not sure what that means exactly) that has them14:41
jelmerhttps://edge.launchpad.net/bzr-gentoo-overlay14:41
AfCjelmer: overlay is the equivalent of "well, I posted a patch". Until it's into Gentoo's official tree it's meaningless.14:42
jelmerah, ok14:42
AfCIt's like expecting people to depend on a .deb that's not official. It may exist, but it's not usable without  a fight14:42
fullermdDon't worry, it'll all be fixed when svn 1.5 is released...   I'm sure it'll happen in a week or two, no problem.14:43
AfCfullermd: oh really? That's encouraging14:43
AfC[Part of this is that someone did an import of GTK using launchpad, but that's really not any use so long as the upstream project is using Subversion]14:44
fullermdWell, it's been a couple weeks out for, like, 18 months now...14:44
AfCI suppose I could risk trying that overlay. I don't know who wrote it, what's in it, or whether it is trustworthy.14:44
AfCfullermd: that too14:44
AfCNow if launchpad used bzr-svn, THAT would be useful.14:45
PengUsing other overlays in Gentoo is pretty easy, IIRC.14:46
PengMore like adding something to your /etc/apt/sources.list.14:46
AfCI didn't say it wasn't easy. I said it wasn't sound14:46
PengOk.14:46
AfC[and even more pragmatically, in my experience when someone does a private overlay the problem goes away for them so they no longer are incented to push their work to upstream (in this case, the distro proper) - which means the problem remains unsolved for everyone else]14:47
AfC[so, for me to go and use that overlay would mean I would no longer be agitating for the problem to be fixed, and the quality level for everyone else remains low. Far better for bzr if the necessary fixes get into Portage officially]14:48
=== bigdo2 is now known as bigdog
Odd_BlokeAfC: LP does SVN imports...15:10
AfCOdd_Bloke: but you don't mean "using bzr-svn to publish a branch which is actually backed by an external project that is in Subversion" do you?15:11
Odd_BlokeAfC: Probably not, but I'm not sure I understand exactly what you mean. :)15:11
AfCimport (as I understand it) is a one way transform for a project that is switching VCS. bzr-svn allows you to use Bazaar against an upstream project that uses (and will continue to use) Subversion15:12
AfCwhat I was just suggesting would be interesting & cool would be15:12
Odd_BlokeAfC: LP does tracking imports, so that any new upstream revisions are mirrored.15:12
AfCif Launchpad hosted the bzr-svn infrastructure and sync'd against upstream15:12
AfCHm.15:12
jelmerAfC: it has been discussed in the past15:13
AfCjelmer: I didn't really think it was likely to be an original idea15:13
AfCI'm probably only sensitive to this because it's taken a while for me to get bzr-svn up and running15:13
jelmerAfC: However, the restrictions that bzr-svn puts on the way conversions are done make it impossible to be used by launchpad15:13
AfCWell, I'm just as happy to leave them out of it.15:14
jelmerAfC: bzr-svn uses deterministic revision ids so can't change the way mappings are done without changing the revision ids15:14
abentleyjelmer: oh?  What restrictions are these?15:14
AfCjelmer: interesting15:14
jelmerabentley: I meant the referential integrity has to be maintained15:15
abentleyWhy is that a problem?15:15
jelmerit makes it impossible to change the mappings halfway through15:17
jelmerwithout changing revids15:17
jelmerif I add support for svn:keywords in bzr-svn now, I need to change the revision id prefix it's using15:17
jelmerwheras launchpad could just add support for it and add it in the new revisions it imports without users getting funny "Branches diverged" errors15:18
abentleyOtoh, deterministic conversions are useful, and Launchpad might be willing to put up with that upgrade pain for such a gain.15:20
jelmerabentley: True, but afaik that was the reason launchpad decided against bzr-svn a while back15:21
jelmerabentley: btw, did path tokens get discussed later in the week during the sprint ?15:22
abentleyNo, they were never discussed.15:22
Odd_BlokeCould someone vote 'Resubmit' on http://bundlebuggy.aaronbentley.com/request/%3C20080310005229.11704edf@lapbert.oxbridgetech%3E for me?15:22
abentleyOdd_Bloke: Just submit the fixed version.15:23
jelmerabentley: :-(15:23
Odd_Blokeabentley: Sure. :)15:24
jelmerhmm, I think this is the first year I haven't brought up revision id aliases15:24
jelmer:-P15:24
=== weigon__ is now known as weigon
ProdocEarlier I started with putting an existing project folder under version control (init, add, commit), now I'd like to have that folder as a repository and move the existing files to a subfolder ('main') to allow me to create branches in separate folders next to the 'main' subfolder. How should I proceed? Is it possible to do this afterwards and keeping the current revisions?16:01
Odd_BlokeProdoc: Create a separate shared repo (using 'bzr init-repo repo') and 'bzr branch <existing dir> repo/main'.16:04
ProdocOdd_Bloke: performing 'bzr branch <existing dir> repo/main' before or after I copied the existing project (including the .bzr folder I assume), to the 'main' folder?16:06
Odd_BlokeProdoc: The 'bzr branch' will do the copying, as well as using the shared repository.16:07
Prodocso I just have to perform the 'bzr init-repo repo' on the current version controlled folder?16:09
Odd_BlokeProdoc: It's best to do it outside of the version-controlled folder, to avoid confusion.16:10
Odd_BlokeYou can move the repository (and it's branches) where you want later.16:10
Prodocah yes, now I see what you mean, cheers16:12
Prodocow, and the existing revision history will be retained?16:14
LarstiQyes16:14
LarstiQhi poolie16:14
PengwnHow is bazzar diff from git ?16:18
LeoNerdHow is an orange different to an apple?16:18
Pengwnok I will get to the point.16:19
Odd_Blokegit has a lot more citric acid? :p16:20
PengwnI found these distributed scms suffer compatibility between windows and linuxes16:20
Pengwnnot really distribted.16:20
LeoNerdAlso bear in mind that while we're bzr users in here, many of us won't know git that well16:20
LeoNerdOr at all16:20
Pengwnbasically how easy to get my revisions between windows and linux machines.16:21
Pengwnso I don't have to worry about setting up ssh or starting a deamon to pull/push to and from.16:21
LarstiQafaik, bzr still has better windows support than git16:21
PengBazaar has pretty good Windows compatibility, but not many of the developers concentrate on Windows, and it has case-insensitive issues.16:21
LeoNerdThe repo format is portable, the program is portable... to my knowledge though, bzr won't itself handle linefeed issues16:21
LarstiQPeng: indeed16:21
LarstiQLeoNerd: we want to do that though16:22
PengwnI don't mind even if would handle ascii files as binary objs.16:23
PengThe current workaround is using a text editor that doesn't suck. :P16:23
fullermdOh, that's not necessarily a requirement.  People could even use emacs...16:23
Pengwnor vim.16:24
LarstiQtsk :P16:24
LeoNerd(g)vim can easily cope with either line format anywhere16:24
LeoNerdBut.. I imagine you're going to be storing source code, etc..?16:24
LarstiQthe problem is other tools, like, say, patch16:24
LeoNerdMake sure the compiler/interpreter on each platform can cope16:24
luks_LarstiQ: patch will happily convert line endings16:24
LarstiQluks_: does it nowadays? It sure used to convert everything to native on windows.16:25
luks_at least the one on windows does16:25
LarstiQanyway, for interested people, http://bazaar-vcs.org/SprintLondonMarch08/Brainstorms and http://bazaar-vcs.org/LineEndings would be starting points for implementing it16:26
PengwnI just need a simple tool to efficently transfer versioned  binary diffs between windows and linux and not worry about setting up a whole lot of servers doing push and pull it should simply ask during syncing chose the remote and local when conflicts arrive.16:26
luks_Pengwn: that's as trivial as running "bzr send"16:26
luks_LarstiQ: the problem with implementing in is that bzrlib reads from the working tree all over the source base :(16:27
luks_there is no central place for such operations16:27
Pengwnwhen I do bzr send from a window machine how would the other window machine recieve it?16:27
LarstiQluks_: reads or writes?16:28
luks_both, and md5sums16:28
LarstiQluks_: the idea is to have a transform layer via tree operations16:28
luks_I've tried it a few months ago, but I gave up as it would mean refactoring quite a lot of code16:28
luks_Pengwn: "bzr send" works over email16:29
LarstiQluks_: did you document your experiences somewhere?16:29
luks_so yuou get the patch by mail, and then "bzr pull" it16:29
luks_LarstiQ: nope16:29
LarstiQok16:29
luks_just in my private and probably already deleted branch :)16:29
LarstiQdoh :P16:29
Pengwnto put it a little simpler I would like to have versioned files with unison syncing and samba transparency.16:30
Pengwnany tool that would remove the trouble of setting up samba would be awesome.16:30
luks_not sure if that's simpler16:30
* luks_ doesn't know that means :)16:30
luks_Pengwn: bzr is a version control tool, not a backup solution and not directory sync tool16:31
luks_if your only intention is to move files between machines, bzr or any other vcs is probably not going to make you happy16:32
Pengwnyep that's what I am looking for then a versioned diff backup solution able to sync from any linux window system.16:32
LeoNerdunison ?16:35
LeoNerdI've only used it between Linux boxen, but I know it's designed for Lin/Win or Win/Win too16:35
Pengwnproblem with unison it goes thru the whole directory structure and takes to much band width this way git handles better with sha1 comparison but pulling and pushing to linux is ok but to windows is a pain in the ***16:37
LeoNerdUmm...16:38
LeoNerdunison runs on both machines16:38
LeoNerdIt does local timestamp and checksumming, nowhere near the network16:38
LeoNerdYou have to run it _on_ both machines, though16:39
LeoNerdRunning it on one side to do a local-to-SMB isn't going to gain you anythingh16:39
Pengwnhow hard is it to setup bazar to do bzr send and get ?16:42
pooliePengwn: pretty easy, assuming there is a reasonable way to send mail from the source16:43
poolielike either sendmail or an smtp server16:43
Pengwncan I unison to sync directories then use bzr on top of it ?16:44
PengwnI mean bzr locally on windows and linux boxes?16:44
Pengwnsync directories or repos i.e.16:45
luks_another option would be "bzr serve" if you can temporarily open a port on one of the machines, and they are accessible from each other16:45
Pengwnbzr serve is a python server?16:45
Pengwnor c server?16:45
awilkinsPython16:46
luks_almost everything in bzr is python16:46
Pengwnis bzr server a push pull thing or I can commit and checkout from it like cvs?16:46
luks_both16:47
Pengwncool.16:47
luks_but it doesn't handle any authentification16:47
Pengwnfine with me.16:47
Pengwnatleast plain text passwords?16:47
awilkinsNo16:47
luks_nope, nothing16:47
awilkinsUse bzr+ssh if you want security16:48
Pengwnssh is not for windows :)16:48
awilkinsThere are SSH daemons for Win32 AFAIK16:48
Pengwnanother big problem otherwise would have stuck to git.16:48
awilkinsYou can certainly use windows as a client to bzr+ssh16:48
luks_https://code.launchpad.net/~parker-friikz/bzr-auth/trunk16:49
* awilkins has done it16:49
Pengwncan I limit the clients to bzr serve?16:49
Pengwnclient connection i.e.?16:49
Pengwnsay to one.16:49
Parker-heh16:49
Parker-maybe I should continue with that :P16:50
luks_Pengwn: are you planning to use it on a central server?16:50
luks_Parker-: you shuold! :)16:50
luks_is it usable yet?16:50
Parker-mostly yes16:50
Parker-:D16:50
Parker-but.. it works16:51
luks_Pengwn: if it's a central server and it runs any unix based system, you can just use bzr+ssh16:51
luks_which works fine on windows as a client16:51
Parker-need to leave train.. laters..16:52
PengwnOk this is the scenario. I work on windows , linux boxes all over the place I want to commit/checkout on any box and before leaving in the evening to save my code/commits on any spare box available at the client side. I work mostly in a vpn so I can connect to any box but don't want to go thru headace setting up ssh/samba what ever crap.16:53
awilkinsPengwn: if ssh is installed on your target psuh box, your headache is limited to generating keypair for yourself and adding it to the authorized_keys list in your /home/.ssh folder on the target16:56
awilkinsAnd then running pageant / putty on the Win32 bopx16:56
luks_or just to use password :)16:56
awilkinsluks_: Ah, well, I learned to do it before bzr had auth callbacks :-)16:56
awilkinsIt finally pushed me over to using PK auth for everything, none of my boxen support password anymore.16:57
awilkinsAnyway, yes, Pengwn, you just need plink (from putty suite) to use win32 as an ssh client. Small, no-install executable.17:00
luks_actually, you don't17:00
awilkinsOther client in mind?17:00
luks_the bzr installer comes with paramiko installed17:00
luks_which provides ssh support without any external dependencies17:00
* awilkins ... is out of date because of the auth-callbacks thing17:01
awilkinsI needed something with an ssh-agent17:01
luks_paramiko _can_ use putty's ssh agent :)17:01
Pengwnawilkins: the headace there is I am working on a windows box all day after ftping my repo now I come to my hotel room connect to slow vpn and save changes to a windows laptop. ftp is again damn slow and remote windows box doesn't have ssh setup.17:02
awilkinsHave to go catch train back later17:03
luks_Pengwn: bzr will download only as much as it needs, which usually isn't that much after one working day17:04
Pengwnyou mean with bzr serve?17:04
Pengwnor bzr-ssh?17:04
luks_any transport17:04
luks_you would simple replace the 'ftping my repo' step with 'bzr push'17:04
luks_and then 'bzr pull' on the laptop17:04
Pengwncool.17:05
PengwnI will try that out then.17:05
luks_you can use sftp://, ftp://, bzr+ssh://, bzr://17:05
Pengwnthanks luks.17:05
Pengwnso bzr is well supported on windows and linux very well?17:06
PengwnI mean my bzr serve should hang I am screwed again.17:06
luks_bzr works equally on windows and linux17:07
luks_the only things that are different are caused by missing features of either OS17:07
Pengwnthe best windows scm server is p4s.exe. perforce's. Never hanged on me maybe once.17:07
Pengwnbasically I have to say how well is python on windows : )17:08
luks_but probably the best you can do is to always push the changes to one server and use that server from each machine you are working on17:08
Pengwnthat's the problem. servers sometimes in different location country and bandwidth sucks.17:09
LarstiQPengwn: it's not clear to me exactly what problem you are trying to solve.17:10
Pengwnadmin problems automation problems etc. etc. huge repo like 2GB and need to transfer around on different client places.17:11
Pengwnyeah maybe I should stip down the take away the exe/binaries but damn lazy to do that so code and installables all in one repo.:)17:13
ubotuNew bug: #200599 in bzr "exception error "Connection reset" caused by push" [Undecided,New] https://launchpad.net/bugs/20059917:33
=== FreeNode is now known as herb
Bloguero__Connorwhat the difference between init and init-repo?18:00
beunoBloguero__Connor, init-repo is a shared repository18:00
Bloguero__Connorso, init is only for private?18:01
beunoBloguero__Connor, I wouldn't call it private, it's jsut for one repository18:01
beunothe otbher one shares the revisiones18:01
beunoso it saves space if you're branching the same repo18:02
fullermdEr.  init-repo creates a shared repo; init creates a branch.18:02
Bloguero__Connorwich one saves space?18:02
james_wand init will create a non-shared repo if you are not in a shared repo when you call it.18:03
beunoBloguero__Connor, it depents on what you're going to do  ;)18:03
james_w"bzr help repositories"18:04
Bloguero__ConnorOK. If someone creates a sharedrepo at http://someplace.com/repoX, and I want to colaborate, should I use "bzr branch http://..."?18:08
beunoBloguero__Connor, share repos are only relevant locally18:08
Bloguero__Connorwhy?18:08
Odd_BlokeBloguero__Connor: A 'shared' repo is only called 'shared' because multiple branches use it to store revisions.18:08
Odd_BlokeThose branches share the repository.18:09
Bloguero__ConnorIf I have sftp access to the shared repo, what diff make if it is local or in another machine?18:14
beunoBloguero__Connor, none18:15
Bloguero__Connorbeuno, you said before that share repos are relevant only locally18:16
beunoBloguero__Connor, right, because they save space when creating new branches in the shared repo18:16
beunothey re-use the same common revisions18:16
beunoso you don't duplicate them18:16
beunobut it makes no difference when branching out externally18:16
Odd_BlokeBloguero__Connor: I think you may be being confused by the use of the word 'repository'.  In bzr, a repository is _only_ a place to store revisions.  Branches are what make sense of these revisions (and are what you can share in the way you seem to mean).18:18
Bloguero__Connorso share repo is called shared because it shares files between branches, not because it shares branches between users.18:18
Odd_BlokeBloguero__Connor: Yes. :)18:19
Pengwnguys back.18:20
PengwnI did bzr serve --directory=c:\myhome18:21
Pengwnhow do i access or sync with this from another windows machine?18:21
beunoPengwn, bzr://host/branch18:23
PengwnI am getting errors saying bzr: ERROR: not a branch "C:/myhome/"18:23
Odd_BlokePengwn: Is C:/myhome/ a branch?18:24
Pengwnusing bzr pull bzr://141.144.64.18:4155/myhome18:24
Pengwnnope directory.18:24
Odd_BlokePengwn: That'll be your problem then.  You can only pull from branches.18:25
Pengwnis branch nick and branch one and the same?18:26
james_wPengwn: no18:27
Pengwnok how to create a branch and serve it?18:27
Pengwnthere's no default branch?18:27
james_wPengwn: "cd branch; bzr serve"18:28
james_wor "bzr serve --directory=c:\location\of\branch"18:28
luks_Pengwn: bzr init & bzr add (or be more specific here) & bzr commit18:29
Pengwncd c:\myhome; bzr init ; bzr add; bzr commit ; bzr serve  ??18:29
Pengwnthen on my other machine bzr pull  bzr://141.144.64.18:4155/myhome  ??18:30
beunoPengwn, that's right, if you just want to have one branch, yes18:30
luks_you probably don't want to do add your whole home directory, though18:30
beunoluks_, it's a windows home, it's probably empty  :p18:31
beunojames_w, does bazaar still use absolute paths with the smart server, or deso it do relative now?18:32
LarstiQbeuno: in what sense?18:32
james_wbeuno: I don't know I'm afraid.18:32
LarstiQif I do bzr serve --directory ~/src/bzr ; then bzr branch bzr://larstiq/bzr.dev works18:32
beunoLarstiQ, that's it18:32
beunothanks  :D18:33
james_wbeuno: how is Prague?18:33
beunojames_w, absolutely great. Having a chance to get back some brain-functions working  :p18:33
james_w:-)18:33
beunojames_w, tomorrow is your last day at previous work?18:34
datojames_w: hey, meant to ask the other day: are you coming to debconf?18:34
james_wDoes anyone know who admins planet.bazaar-vcs.org?18:34
datoLarstiQ: same for you18:34
james_wbeuno: yes it is \o/18:34
james_wdato: I wasn't planning on it, but it sounds like there may be a chance that I am now.18:34
datojames_w: ok :)18:35
beunojames_w, so from when on can I start complaining about Ubuntu doing things wrong to you?18:35
james_wbeuno: um, you'd be better of complaining to someone else? :)18:35
Pengwnoh damn do i have to bzr init on both machines?18:36
beunoPengwn, no, just do branch instead of pull18:36
beuno(once, to create the initial branch)18:36
james_wdato: I think it would be great if at some point you could send a message to the list outlining the features that made git so compelling for you.18:36
james_wdato: I realise you have mentioned a couple already, which is better than most people who just say that there are things without really pointing them out, so thanks for that.18:37
datook, I could think about them18:38
* dato takes a note18:38
james_wdato: thanks.18:38
LarstiQdato: I had been filling in fields in penta slowly, I need to complete that.18:42
PengwnWow bzr is cool on windows.18:46
Pengwnhope it's equivalently cool on linux :)18:46
Pengwnby next best tool :)18:47
beunoPengwn, like everything else, even cooler  :p18:47
LarstiQbeuno: now now :P18:48
Pengwnbut seems I have to go the physical c:\myhome directory and do bzr pull bzr://hostname:415518:48
* beuno goes back to his corner and sits back down again18:48
Pengwnthe bzr://hostname:4155/myhome doesn't work.18:49
Pengwnsays c/myhome/ is not a branch.18:49
=== ja1 is now known as jam
Odd_Blokejam: o/18:50
LarstiQPengwn: what does `bzr info` say when in c:\\myhome ?18:50
jamOdd_Bloke: hi18:51
Odd_Blokejam: Thanks for the reviews earlier. :)18:51
jamnp, trying to get the merge queue down to something reasonable18:51
jamOdd_Bloke: did you have a good train journey back home?18:52
Odd_Blokejam: Yeah, managed to get a seat and everything. :p  How was your flight?18:52
Pengwn  branch root: .18:52
PengwnRelated branches:18:52
Pengwn  parent branch: bzr://141.144.65.18:4155/18:52
james_whi jam.18:53
jamThe flight was rather uneventful, they managed to arrive 30-min early, but then take >1hr to get my luggage unloaded18:53
jamhi james_w18:53
Odd_BlokePerhaps the luggage arrived on time. :p18:53
jamPengwn: and you did "cd c:; bzr serve" first?18:54
jam(if you did cd C:\myhome, then the appropriate branch is "bzr branch bzr://hostname/"18:54
Pengwnno cd c:\myhome; bzr serve18:54
jamSince paths are relative to the cwd18:54
jamotherwise it would be branching "c:\myhome\myhome" which obviously doesn't exist18:55
Pengwnhey thanks18:57
Pengwnbzr://hostname:4155/myhome works18:57
datoLarstiQ: ok :)18:57
Pengwnafter cd c:\ ; bzr serve18:57
Pengwnhow the hell it bzr know c:\myhome is the bzr root without being in it?18:58
Odd_BlokePengwn: Because that's where you ran 'bzr serve' from?18:58
radixPeng: it maps URLs to file system paths18:58
radixerg. pengwn18:58
Pengwnahh got now cd c:\myhome; bzr://hostnaem:4155/ fails :)18:59
PengwnThe logic is then If bzr serve find the BZR ROOT client cannot use the path info. If bzr serve doesn't find the BZR ROOT the client has to tell it where to find it. :)19:02
LarstiQPengwn: bzr serve doesn't care where it is run from, it will take an incoming request and then look in $serveroot + $relpath19:04
LarstiQPengwn: so yes19:04
pooliehello jam19:05
LarstiQPengwn: you could also (on a unix system) do `bzr serve --directory=/` and that way expose your entire filesystem, but you probably don't want that19:05
jamhi poolie19:05
jamHow was your travel back?19:05
PengwnLarstiQ: what is the $serverroot on windows it just says .19:06
poolienot too bad19:06
poolieyou?19:06
beunoPengwn, wherever you specified bzr serve to run from19:06
LarstiQPengwn: it is either the directory you run bzr serve from, or what you specified with --directory19:06
PengwnI gues it cannot transalte c: and d: etc then ?19:07
LarstiQPengwn: so 'cd c:/myhome/; bzr serve', $serverroot would be 'c:/myhome'.19:07
LarstiQPengwn: what do you mean?19:07
beunoPengwn, you might be able to use shortcuts to link to d:, but windows is a bit uncertain for me19:08
beunoLarstiQ, I think he means server contents from c:/foo and d:/bar19:08
LarstiQbeuno: hmm19:08
beunoyou know, there is no / in win19:08
mneptokbeuno: there is if your machine meets the Windows Vista Ultimate POSIX Professional Edition minimum hardware specs.19:10
beunomneptok, you mean kubuntu with the vista skin?   :p19:10
daviwelcome to emacs19:11
Pengwnonce the bzr serve finds the BZR root it always give $server + $relpath ans not a branch.19:11
Pengwnit recongnizer "c:/myhome" and not "c:\myhome"19:12
Pengwnso once it finds the root and  i say bzr pull bzr://hostname:4155/proj1 it doesn't find it.19:13
Pengwni have to cd c:\myhome\proj1 and then do bzr pull bzr://hostname:415519:13
LarstiQPengwn: this sounds wrong19:13
LarstiQPengwn: you have a bzr server running from c:/myhome, right?19:14
Pengwnwindows is always wrong for me :)19:14
Pengwnyep.19:14
LarstiQPengwn: could you then try mkdir c:\temp; cd c:\temp; bzr branch bzr://hostname/proj119:14
Pengwnbzr serve --directory="c:/myhome"19:14
PengwnI am in C:19:15
LarstiQPengwn: could you try my way first? I'd like to rule out funky window pathnames first19:15
PengwnC:\myhome>bzr pull bzr://141.144.65.18:4155/proj1/19:16
Pengwnbzr: ERROR: Not a branch: "bzr://141.144.65.18:4155/proj1/".19:16
mtaylorstatik: ping19:17
LarstiQPengwn: that's not really what I asked you :P19:17
* LarstiQ is tempted to boot into windows and check19:17
PengwnI just have to be out of the location where there is no .bzr directory and then the bzr://hostname:4155/path works.19:20
Pengwnsome how my PWD is overiding the branch infomartion to the bzr serve.19:25
Pengwnok got to go  now.19:26
AfCYou shouldn't have to specify the port number19:28
jampoolie: overall uneventful, which is how I prefer travelling :)19:29
pooliehello afc19:30
AfCGood evening Martin19:30
mneptokhey poolie19:31
james_wpoolie: hi. How are you?19:47
james_wpoolie: who is it that admins the bzr planet?19:48
pooliegood, thankyou19:48
pooliethough in an unusual personal timezone19:48
pooliecanonical IS19:48
poolieI can pass on requests or comments19:48
james_wpoolie: I thought it was a little early for you.19:48
james_wI would like to be added if you approve, does that need to go through them?19:49
pooliethat's probably easiest if you don't find them here19:51
poolielamont (in us/mountain time) can do it for example19:51
pooliecan you pm me the urls19:52
poolieor mail19:54
jelmerabentley: ping19:55
* lamont notes that #canonical-sysadmins is where one can generally expect to find zero or more awake sysadmins19:55
lamont(this server)19:55
abentleyjelmer: pong19:55
jelmerabentley: Do you know how to get kid to not insert a HTML header above pages?19:55
* jelmer has a bundlebuggy patch which adds rss feeds and this is the last bit he can't get to work19:56
poolielamont, james_w: sent19:56
abentleyThe header will be coming from your master template.19:56
james_wpoolie: thanks.19:56
jelmerabentley: I mean the <!DOCTYPE > line on top, which is inserted even while it is not there in my kid template19:56
abentleyjelmer:  one sec19:57
mwhudsondid i show this screenie off in here yet? http://people.ubuntu.com/~mwh/hacked_up_changelog_view_3.png19:57
pooliemwhudson: released yet? :)19:57
mwhudsonpoolie: well, i released 1.2 and 1.2.1 yes19:58
mwhudsonpoolie: that changelog view is not even committed to a branch though i think, it's a total hack19:58
poolieoh, interesting19:58
abentleyjelmer: expose it like this: "@expose(template='livelistings.templates.atom_events', format='xml', content_type='application/xml')"19:58
LarstiQmwhudson: fair enough :)19:59
jelmerabentley: Thanks!19:59
pooliemwhudson: i don't think you need different font sizes btw19:59
abentleyThe content_type would probably be different.19:59
pooliethey're already distinguished by placement and weight19:59
jelmerabentley: yep, application/rss+xml probably20:03
jelmerit works \o/20:03
mwhudson_grr20:06
=== mwhudson_ is now known as mwhudson
mwhudsondid i miss anything?20:07
fullermdThunder.  Lightning.  Dancing girls.  3 pirouetting elephants.20:08
mwhudsoncool20:08
mwhudsoni guess i should set up a proxy one of these days20:09
Prodocanyone available to make a small change to the bazaar user-guide so I don't have to get the source first and create a patch and stuff?20:19
LarstiQProdoc: sure20:20
LarstiQwith sufficient detailed suggestions I can actually do that :)20:21
ProdocLarstiQ: the following sentence in http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#id41 doesn't really flow: 'On the other hand, Mary might want to merge into her branch the work Bill has done in his.'. The following makes more sense imho: 'On the other hand, Mary might want to merge the work Bill has done in his branch into her branch.'20:22
LarstiQhmm20:23
Prodocnitpicky I know ;-)20:23
ProdocI had to read it over 3x20:23
LarstiQI actually prefer the first sentence.20:24
LarstiQbut I'm not a native speaker, and I know my mind sometimes works rather strangely20:24
Prodocor leave out 'in his branch' in the suggested sentence20:24
jelmerhttp://bundlebuggy.vernstok.nl/bzr-gtk/rss?selected=pending&unreviewed=n20:24
Prodocthat would make: 'On the other hand, Mary might want to merge the work Bill has done into her branch.', a lot clearer imo20:26
abentleyjelmer: Cool.20:29
abentleyjelmer: But I won't be able to put it on the main BB instance, because that query is really hard on the DB.20:30
jelmerabentley: it should be the same query as for the index page20:30
abentleyjelmer: Yes.  The index page is really hard on the DB.20:31
jelmerouch :-(20:31
abentleyYeah.20:31
abentleyMainly because that box is underpowered, I think.20:31
abentleyIt runs at a decent speed on my 3-year-old laptop.20:32
abentleyThe first entry produces a parse error for me: XML Parsing Error: not well-formed20:32
abentleyLocation: file:///20:32
abentleyLine Number 60, Column 7:20:32
LarstiQwhat box is it running on?20:32
abentleyIt runs on aaronbentley.com, which is a virtual machine hosted by unixshell20:33
jamabentley: I believe poolie discussed getting it hosted by Canonical servers, has anything come of that?21:00
jamI know one concern is just getting enough admin resources for a Canonical machine21:01
jamThey like to lock the machines down pretty tight21:01
abentleyjam: more recently, we've been talking about using a different host.21:01
abentleypoolie was just talking to me about it.21:01
mtaylorhey guys21:14
mtaylorin a post-push hook21:14
mtayloris there any way to get ahold of the revnos that the revisions will be in the remote tree?21:14
pooliejam, i think it's just you and me to talk today, as spiv is in canada and igc is on leave21:15
LarstiQis Rob doing ok?21:16
pooliein what way?21:16
pooliehe seemed ok yesterday21:16
LarstiQpoolie: he wasn't too well the last days I saw him21:16
poolieoh right21:17
pooliei think he was mostly over it by the time we left21:17
pooliethough i am feeling a bit sick myself today21:17
LarstiQpoolie: ai, beterschap21:18
lifelessmoin21:36
james_whi lifeless.21:36
james_ware you feeling better now?21:36
lifelesscomes and goes a bit21:36
Stavroshello21:37
lifelessmay head up to doctor later today and get a considered opinion21:37
lifelesshi Stavros21:37
Stavrosi would like to create a setup where the live server automatically updates its working tree with any revision tagged "release", is this possible?21:37
lifelessyes; it will need a cronscript at this point, or a client side hook21:38
Stavrosaha, well, since it has to pull from another repo, i'm thinking cronscript21:39
Stavrosbut how can i read the tag?21:39
james_wStavros: does "bzr tags" help?21:41
Stavrosnot really, i need to do it programmatically21:42
Stavrosi'd probably need a cronjob to pull at regular intervals and a hook to update the tree on release/restart apache?21:42
jamStavros: are you doing it in shell, or in python?21:42
jamStavros:  because you could just do "bzr pull -r tag:release" from shell21:43
jamFrom python it would be more:21:43
Stavrosjam: probably in python, because i need tags preserved (i'm not entirely sure how tags work), so the tags would be something like "Release 1.2.2"21:43
jamtag_revision = branch.tags.lookup_tag('release')21:44
jamAh, you want Release XXX not just "Release"21:44
Stavrosyes, something like that21:44
Stavrosit's the same thing in python, that's why i didn't mention it21:44
jamSo in that case, you could do:21:44
jamb = bzrlib.branch.Branch.open('remote_location')21:44
Stavrosactually i should read up on bzr scripting because i have no idea how to do this21:45
jamtags = b.tags.get_tag_dict()21:45
jamfor name in tags:21:45
jam  if name.lower().startswith('release'):21:45
jam..21:45
jamit sort of depends how you want to decide to use 1.2.2 over 1.2.121:45
jametc21:45
Stavrosi shouldn't have any problems with the actual script, i just want to know where to put it/how you go about writing hooks/etc21:46
Stavrosis there a webpage that explains that stuff?21:46
Stavrosis it this? http://bazaar-vcs.org/WritingPlugins21:46
james_wStavros: that has some of it. I don't know if it will have all that you need though. Feel free to ask questions in here if not.21:47
Stavroswill do, thanks21:48
frsk7w 2121:49
frskGah.21:49
Stavroswow, you can version your bzr plugins with bzr21:59
Stavrosi think my head just exploded21:59
Stavrosare bzr tags just text that is associated with a release number?22:00
jamStavros: tags are just a name associated with a revision_id22:02
Stavroserr yes, why do i keep calling revisions releases, i'll never know22:02
Stavrosthat is quite elegant22:02
jamAnd yes, all of my tags are bzr branches in ~/.bazaar/plugins22:02
Stavrosand tags are unique?22:02
Stavrosjam: what was that?22:02
jamtags are not universally unique22:02
Stavroshmm22:02
jamsorry, all of my plugins are branches ....22:02
jamnot tags :)22:02
Stavrosah22:02
Stavrostags aren't unique? how does that work then?22:03
james_wthey are unique to a branch, and a merge may cause a tag conflict that you have to resolve.22:03
Stavrosoh22:04
Stavroswell, a branch is as universal as it gets, isn't it22:04
james_wso if I tag one revision as "release 1.1" and you tag a different one as "release 1.1" then there needs to be intervention when we merge to say who was right.22:04
Stavrostrue22:04
huslucan someone kindly tell me what's the difference between --no-trees and the default in init-repo command? won't they both start out with emptry directory?22:24
LarstiQhuslu: they will. The difference is what happens when you bzr init/branch branches into it22:25
husluLarstiQ: thanks but what is the difference when you branch (or push?) into it (with when init-repo was started with --no-trees)22:27
LarstiQhuslu: with --no-trees you'll just get a branch but no working tree. Ie, branchname/.bzr/ but no other files under branchname/22:28
LarstiQhuslu: which goes nicely with having a lightweight checkout of that branch somewhere else on your filesystem where you do actual development22:28
husluLarstiQ: k, so if i understand correctly, all the --no-trees does is, keeps the revision history in a different place?22:32
poolielifeless: can i call?22:32
LarstiQhuslu: no, the revision history is kept in the same place. The only difference is to wether create a working tree at the same place as the branch or not.22:33
LarstiQhuslu: but you can see for yourself, bzr init-repo repo; bzr branch lp:bzr-gtk repo/gtk; bzr init-repo --no-trees repo-no-trees; bzr branch repo/gtk repo-no-trees/gtk22:34
LarstiQhuslu: and then ls repo/gtk repo-no-trees/gtk22:34
Stavroswait, to create a hook all i need to do is write a function and register it?22:34
husluLarstiQ: right, so the difference is that the files are not in the repo-no-trees directory?22:35
LarstiQhuslu: that sentence is a bit amibguous. All the files needed to reconstruct a working tree are in both repositories22:37
LarstiQhuslu: you can get the same effect on repo-no-trees by doing: cd repo-no-trees/gtk; bzr checkout .22:37
LarstiQhuslu: but the default will still be to create tree-less branches then22:37
LarstiQhuslu: the other way around, cd repo/gtk; bzr remove-tree22:38
Stavrosdoes a "pull" update the working tree if it had no local changes?22:38
LarstiQStavros: yes, also if it did.22:38
LarstiQStavros: that is, non-committed local changes22:38
StavrosLarstiQ: it just overwrites the changes?22:38
Stavrosthat can't be right22:38
LarstiQStavros: if you have diverging commits, it will tell you it has diverged22:39
Stavrosah22:39
LarstiQStavros: no, it merges the content22:39
husluLarstiQ: ok, that helps, now, can you help me to see the light when or why is it beneficial to not to store the working tree there?22:39
Stavroshow do i make it so it doesn't update the wc?22:39
LarstiQhuslu: each working tree consumes diskspace, you don't always need them22:39
LarstiQStavros: I'd have to check to be sure, but I'd think invoking the method on Branch instead of WorkingTree22:40
LarstiQhuslu: or for example if you use a workflow where you `bzr switch` between branches but have only 1 working tree22:41
Stavroshmm22:41
husluLarstiQ: ok, i haven't gotten around to that part yet. but your explanation made things more clear, i'll keep learning.22:42
Stavroshmm, well, this doesn't help my plan for the self-updating servers...22:42
LarstiQStavros: alternatively, you could decouple the branch and the checkout, update the branch, and then update the working tree to the latest release tag22:42
LarstiQhuslu: np22:43
StavrosLarstiQ: you mean push to the branch>22:43
Stavros?22:43
LarstiQStavros: no, pull22:43
Stavroshow would i do it so the wc wasn't updated, though?22:44
LarstiQStavros: I'd go with a branch without wc, and the wc in a different location22:44
Stavrosah22:44
Stavrosnot very elegant, though22:44
LarstiQor more elegant, depending on how you look at it :)22:45
Stavroswell, the more elegant solution would be one that didn't require me to keep the repo and the files in separate locations and copy between them :p22:45
LarstiQStavros: or if you could go without local changes, pull, and then revert to the latest release tag22:45
LarstiQStavros: copy? Eh, no22:45
LarstiQStavros: branch in one location, lightweight checkout in another22:46
Stavrosoh22:46
pooliedoes anyone know if python-glade2 2.8.6 will be enough for bzr-gtk22:46
Stavroshmm, what was that other solution? pull and revert?22:46
pooliere bug 20036622:46
Stavrosactually that should work22:46
fullermdUrg.  Not very well.22:46
LarstiQStavros: the drawback of that is that is going to do more writes to disk than needed22:47
LarstiQfullermd: to poolie's question or Stavros comment?22:47
fullermdThe latter.22:47
StavrosLarstiQ: it doesn't matter much, it's not that many files22:47
Stavrosfullermd: what would you recommend?22:47
mamatohmm, any way to use bzr (for commits, reverts, etc) while using 'bzr gdiff'?22:47
Stavrosmamato: does it lock?22:48
fullermdI haven't been much paying attention.  But you'll work yourself into an unpleasant corner using rever tlike that.22:48
mamatoyep! not sure why...22:48
Stavrosfullermd: the server doesn't have any local changes, and this is the best solution so far...22:48
Stavrosthe absolute best would be if there was a "bzr pull --no-update" option22:48
Stavrosso it didn't update the working copy22:48
LarstiQfullermd: the use case is only updating the working tree to revisions tagged with a release22:48
Stavrosand then i manually reverted to the latest revision whenever i wanted22:49
fullermdHow do you define a 'release'?22:49
mamatoStavros: it's not like gdiff allows you to do much :S22:49
LarstiQStavros: well, in my mind that is exactly served by having branch and tree not co-located22:49
StavrosLarstiQ: hmm, i should read up on a lightweight checkout22:49
Stavrosfullermd: a release is the well-tested code22:49
Stavrosthat should run on production22:50
Stavrosall other commits should run on dev22:50
fullermdI know, but what in bzr terms makes the release?  A sliding tag?  Somebody updating a revno in a control file?22:50
Stavrosfullermd: oh, a tag22:50
Stavrosnot sliding, just tag "release x.x.x"22:50
Stavrosor even sliding, same thing22:50
fullermdThe problem is that `revert -r` is not `update -r`; you'll wind up in Conflict City every time you pull.22:50
Stavrosoh22:50
Stavrosthat won't do, then22:50
fullermdI'd just make a sliding LATEST_RELEASE tag, and pull -rtag:LATEST_RELEASE.22:51
Stavroswhy would it conflict, though? there are no local changes22:51
fullermdThere are, though.  revert makes local changes.22:51
Stavrosah22:51
fullermd(you may need pull --overwrite because of the rough corners of tags)22:51
LarstiQfullermd: something I wanted to ask early, does it do the lookup of tag:LATEST_RELEASE in the parent branch?22:51
Stavrosi would like to be able to track releases, so i'm not very partial to the sliding tag idea22:51
fullermdLarstiQ: Yah.  pull -rwhatever refers to revs in the branch pulled from.22:51
fullermdWell, the idea is that you update the sliding tag to point at a release when you make it and are sure it's ready; that way it all Just Happens.22:52
LarstiQfullermd: oh, doh22:52
fullermdIf you don't slide a tag, you have to go update the tag in the pull'ing script every release, since it needs to go somewhere different.22:52
Stavrosyes, but i've had times when i needed to revert to the previous release22:52
Stavrosfullermd: i was thinking of a plugin that parsed it and selected the latest revision tagged with "release"22:53
datofullermd: `bzr tags --sort=time | tail -1 ` ;)22:53
ubotuLaunchpad bug 200366 in bzr "Ubuntu package bzr-gtk for Dapper depends on package not available for Dapper." [Medium,Confirmed] https://launchpad.net/bugs/20036622:53
Stavrossomething like dato's22:53
fullermdThen you'd just slide the tag back, and the pull'ing copy will follow next time it runs (with --overwrite in that case, definitely)22:53
Stavrosfullermd: yes, but the problem is remembering where the tag was22:53
fullermdWho needs to remember?  It was the same as rel_3_4, then rel_3_5, then rel_3_6, then OOPS 3.6 was horked up, move it back to rel_3_522:54
Stavrosfullermd: that's not sliding, though22:54
Stavrosor can you have multiple tags per release?22:54
fullermdSure it is.  You have defined tags for each release, *AND* a DEPLY_THIS_CODE tag pointing at whatever you want the server running at the moment.22:54
Stavroserr, revision22:54
Stavrosah, THAT i like22:54
fullermdSure.  You could have a thousand tags pointing at one rev.22:54
Stavrosgreat gret22:54
fullermdAnd you should, actually.  I don't think anybody's done it, so we need a guinea pig   ;>22:55
Stavrosso i tag a rev in my local repo and push it to the main one22:55
Stavroshaha, damn you22:55
Stavrosthen i do bzr pull -rtag:PRODUCTION ?22:55
* fullermd nods.22:55
Stavrosaha, let me try that22:55
fullermdProbably need pull --overwrite; otherwise it won't step backward if you have to move the tag back.22:55
Stavrosaha, okay22:55
fullermd(and it may not pull the tag quite right either, due to above)22:56
Stavrosdoes "bzr tag tag1 tag2" tag with two tags, or tag with one tag with a space in it?22:56
fullermdI think it may give an error...22:57
Stavrosaha22:57
Stavrosalso, are tags fully reversible? i can delete them without any trace, no?22:57
fullermdI'd do something like `bzr tag -r-1 RELEASE_3_5 ; bzr tag -rtag:RELEASE_3_5 PRODUCTION`22:57
Stavroswhy -r-1?22:58
Stavrosoh22:58
Stavrosi see, yes22:58
fullermdWell, or -rwhatever; find the rev to tag the release, then use the release tag to set the PRODUCTION tag.22:58
Stavrosyes22:58
fullermdI _think_ pull --overwrite doesn't delete tags gone upstream.  It should move moved ones, though.22:58
mamatois it possible to have bzr commit display the diffs in the bottom part of the file it has you edit for comment, where the list of files is?22:59
fullermdTags got to that awkward state where they're plenty good enough for 90% of uses, and the other 10% isn't near the top of anybody's priority list   :|22:59
james_wmamato: bzr commit --show-diff22:59
mamatohehe, nice!22:59
Stavrosofftopic, does anyone use fish?23:00
mamatojames_w argh... not available... i guess my bzr is too old :(23:01
fullermdMmm...   NEWS says it was in 0.91.  That's a fair couple steps back now...23:01
mamatoi use what ubuntu gave me (and it's up to date)... it's 0.90.0 :(23:02
Stavrosit seems to be working23:02
Stavrosmamato: yeah, ubuntu is a bit bacjk23:02
Stavrosuse the repository on the site23:03
Stavrosfullermd: is there any way i could push to that server and have it detect if the PRODUCTION tag changed revisions and restart servers/etc?23:03
Stavrosi mean, do all that on push instead of pull23:03
fullermdWith push?  I dunno...   I s'pose you could parse the output at least, looking for an 'update' (or whatever it says) keyword.  Not sure if the exit code says anything.23:04
james_wStavros: the normal way to do this would be using branches I think. However that may not help you.23:04
Stavroshmm23:05
Stavrosso the easiest way would be to write a crontab to pull every x minutes?23:05
fullermdYeah, that's how I'd do it.23:05
fullermd(well, it's not of course, but it's how I'd do it given you general setup  ;)23:05
Stavroshow would you do it?23:05
Stavroswith another setup?23:05
fullermdWell, I do all my deployals via install(1)   :p23:06
Stavrospff :p23:07
mamatorrrrrhhh... newer bzr requires newer libc and python-central...23:07
mamatooops... nevermind23:09
mamatoany way to have --show-diff be the default?23:18
mamatoaliases won't even work transparently since option has to come after command :(23:19
Pengdefaults?23:20
PengErr, I dunno. That's an hg thing. :P23:21
Stavrosheathen!23:22
mamatohmm... should have looked more carefully at hg before choosing bzr i guess ;)23:22
Stavrossacrilege23:22
Stavrosactually i think they're more or less the same23:23
Stavrosbzr has better merging23:23
LarstiQPeng: what is a hg thing?23:23
fullermdHuh?  Why don't aliases work?23:24
mamatowell you cant alias it as 'bzr commit'23:29
PengI'm pretty sure you can.23:30
fullermdSure you can.23:30
fullermdWait.  bzr aliases, not shell aliases.23:30
james_wmamato: are you referring to shell aliases? did you realise that bzr itself supports aliases?23:30
mamatowas talking about shell aliases23:31
james_wmamato: http://bazaar-vcs.org/CommandAliases23:32
PengOh.23:32
PengBazaar aliases can do this fine. I just tested it.23:32
james_wyeah, I have that alias set up.23:32
mamatonice! so bzr does allow default options!23:33
james_wAnd it automatically supports inverse options, so that you don't have to worry about doing unalias to get around any issues.23:34
james_wfor instance if you alias "commit = commit --strict" this won't let you commit with unknown files in your working tree. However if you want to do it once for some reason you can run "bzr commit --no-strict" which expands to "bzr commit --strict --no-strict" and the latter takes precedence.23:35
mamatowhile i'm at it, is it possible to add colors or bolds to diff? (w/o launching gtk)23:39
Odd_Blokemamato: The 'cdiff' command in bzrtools adds colour.23:43
mamatothx!23:45
mamatojust in case, you got a trick to colorize the --show-diff of commit in vim too?!23:49
james_wmamato: a vim plugin to do that may be quite straightforward, but I haven't heard of one yet.23:52
mamatohehe oki23:53
jelmerI think I saw one being posted on Google code23:53
jelmera generic one for vcs'es23:53
mamatoone last thing then... a replacement for less which would work with colorized output?23:54
james_wjelmer: vcscommand?23:54
jelmerjames_w: yeah, probably23:54
jelmersomebody posted a patch that added bzr support for it23:55
james_wjelmer: yeah, I think that provides :vcs commit or similar, but it may have what mamato wants.23:55
jelmeryeah, it allows you to run vimdiff between the base of the working tree and the working tree23:56
Stavrosis there a switch to commit the wc just like it is, even if it's a few revisions back or whatever?23:56
james_wmamato: bzr cdiff | less -R do what you want?23:56
mamatohéhé, found my 'less -R' for now23:56
mamatoyep, thx!23:56

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