/srv/irclogs.ubuntu.com/2008/08/23/#bzr.txt

j0hn5I'm having trouble using bazaar, I used the command bzr branch foo ... to get the source code... I made the changes... and hit bzr push foo... and it tells me that there are no revisions to push :\ can anyone help me?00:09
lifelessj0hn5: well, you haven't committed ;)00:10
j0hn5can I freely create files on the source I downloaded? just have to make commit?00:10
j0hn5and then push?00:10
lifelessj0hn5: yes; you probably should read the tutorial00:12
j0hn5I have the tutorial here... but still don't get it00:18
j0hn5I just made the bzr commit00:18
j0hn5and it tells me that  there are no changes to commit00:18
j0hn5yet, I created a new folder with a file in it00:18
Necoroj0hn5: have you "bzr add"ed the file/folder?00:19
j0hn5do I have to do that to both the folder and file? or just the folder? (since the file is in it00:20
Necoroj0hn5: bzr add is recursive by default00:20
lifelesswhen you run 'bzr add' it will scan for new files and folders00:20
j0hn5ah finally... that was it... I was missing the add00:21
j0hn5thanks lifeless and Necoro00:21
=== frej_ is now known as frej
markhjelmer: ?02:57
jelmermarkh, hi02:57
markhhi jelmer: just to be clear - we are talking about proposing a new function to bzrlib's win32utils?02:57
markhor is there one in bzr-svn?02:58
jelmermarkh: yeah, the one in bzr02:58
jelmermarkh, I'm trying to keep bzr-svn as platform-independent as possible, relying on the portability layers in both bzr and svn02:59
markhok cool, thanks.  Just a little confused whenyou said "you would apply it"02:59
jelmerbzr-svn would probably have to call that new function though02:59
markhs/you/i/ in those quotes :)02:59
markhyes, that is what I meant in the first place02:59
jelmerI'm happy to apply a patch that changes the current bzr-svn code to use that new win32utils function03:00
markhbut it means bzr-svn will not see it until 0.703:00
markh1.7 either ;)03:00
jelmer:-)03:00
jelmeryeah, I don't think it's a problem to delay this until the next release of bzr-svn03:00
markhme either - just making sure.  I'll see how I go and submit a MERGE to bzr I guess...03:02
markhthen you can deal with it once it looks like landing03:02
markh"deal with it" == "modify bzr-svn to use it"03:03
jelmerk03:04
markhcan bzr's laxy-import mechanism handle ImportErrors?03:30
lifelessmarkh: it exposes ImportError if thats what you mean05:23
markhlifeless: at what point is it raised?05:46
* markh probably could just experiment...05:47
Peng_markh: From experimentation I did a while ago, when it actually loads the module (meaning, when you first access it.)05:49
markhPeng_: that would make it hard to catch reliably I guess...05:50
Peng_Yeah. I guess you can't lazy_import things you plan to catch ImportErrors for.05:51
markhthat's the conclusion I came to too :)05:51
=== kiko-afk is now known as kiko-zzz
olejorgenbhm.. can I revert a revert ?09:02
olejorgenbI missunderstood the documentation and thought that only the bzr add would be removed, not the actual files09:03
olejorgenbhehe, ups, the files are there, sorry09:05
ToyKeeperHmm,,  can never remember how different systems handle this...09:35
ToyKeeperAny idea how to insert bzr metadata into a versioned file?09:35
ToyKeeperLike...  putting revno into a program's version variable.09:35
LarstiQToyKeeper: bzr version-info09:37
ToyKeeperThanks.  I just found...  http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#exporting-version-information09:38
ToyKeeper(trying to help a svn user learn bzr, and that's a feature I hadn't needed before)09:40
ToyKeeperIt's really not the same thing, but I guess in some cases it works.09:41
LarstiQToyKeeper: what is not the same thing?09:46
luksbecause it doesn't update on update09:47
ToyKeeperIIRC, svn substituted certain strings at checkout/update time, without actually recording changes to the file.09:47
LarstiQah, that.09:48
ToyKeeperIt could be done with hooks, but I don't see any hooks which look like they'd run at the right time.09:49
ToyKeeperMaybe post_change_branch_tip09:49
LarstiQToyKeeper: http://bazaar-vcs.org/KeywordExpansion09:50
LarstiQI'm really not a fan of it, but there you go.09:50
ToyKeeperNot a big deal for me, but that should satisfy some svn users.  :)09:50
LarstiQToyKeeper: but do ask them to test that KeywordExpansion plugin, it is basically intended for people who want that, so they need to be happy with it, not me :)09:52
ToyKeeperHmm, seems to require bzr.dev.  That might be hard to sell.  :)09:57
ToyKeeperAt least it's really, really easy to run bzr.dev.  I don't bother with .deb versions of bzr+plugins any more.  :)10:03
Peng_It'd probably work in the 1.6 RCs.10:12
Peng_Or not. I dunno.10:14
fullermdWell, I think it was for bzr.dev before 1.6 was branched, so I'd guess it'll work with 1.6.10:15
LarstiQToyKeeper: right, so this is not from a standpoint of what I'd suggest they do right now in production, but as an investment in ensuring the proposed solution satisfies their needs.10:16
LarstiQToyKeeper: me, I'll stick with version-info anyway since I dislike the keyword approach, but hey :)10:17
* fullermd wuvs keywords.10:17
=== thunderstruck is now known as gnomefreak
em1hi, when i execute a python script, it complains 'ImportError: No module named bzrlib.builtins'12:12
em1im a newbie, please help12:12
ToyKeeperem1: Some context might help.  Which script are you running?12:17
=== asabil_ is now known as asabil
RAOFMan, that's some high quality error message: "bzr: ERROR: Generic bzr smart protocol error: <Fault 8002: 'error'>"12:20
ToyKeeperRAOF: Nice.  :)12:20
RAOFI wonder if it's reproducible, with -Dhpss.12:21
RAOFHm.  Apparently it actually worked, too.  Except it left a stale lock.12:22
em1hi, ToyKeeper,12:27
em1i am running lp:/openerp bzr_set.py12:27
em1does it means that i need install a module for python i installed it the first time12:28
em1i install bazaar then install python, when i try to run bzr_st.py and engine complain 'no module...', i uninstall bazaar and restall bazaar, but dont help12:30
em1bazaar, hello12:32
em1when i run you, i have trouble12:32
bazaarhi. should i run "bzr serve" in inetd or via init script? are there any resources on bzr serve init scripts?12:32
bazaarbelieve me -- a lot of people say that if they run me they have trouble ;)12:33
bazaarno serious .. we all here at freenode#bzr love bazaar - do we?12:33
em1yes, i love you, but you often puzzled me12:34
ToyKeeperem1: What OS/distro are you running?12:35
bazaar``should i run "bzr serve" in inetd or via init script? are there any resources on bzr serve init scripts?'' -- any ideas?12:35
ToyKeeperIt sounds like bzr isn't installed correctly.12:35
em1ToyKeeper, i am on windows xp12:35
em1http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/2007-May/000031.html12:35
em1above link is similar to my case12:36
em1but no windowxp solution there12:36
ToyKeeperI have no idea how to correctly set up python or bzr on XP, but it sounds like bzr isn't completely installed.12:37
em1how about reinstalling bzr12:37
em1i use bzr1.6rc312:37
ToyKeeperApparently bzr isn't in your python path.12:38
em1maybe i should use bzr1.6rc5?12:38
ToyKeeperIt should work if you run: python -c "import bzrlib"12:38
em1running it have the same error12:39
ToyKeeperAs a kludge, you could probably add a "sys.path.insert(0, 'c:/path/to/bzr')" in a script to work around the issue, but it'll be better to get bzr installed correctly.12:40
em1i have cygwin installed, is that cause?12:41
ToyKeeperUsing bzr 1.5 might help.  Or not, but it's worth a try.12:42
em1ok, i will try it12:42
ToyKeeperAnd if you haven't read this, it could help: http://bazaar-vcs.org/WindowsDownloads12:44
em1C:\Program Files\Bazaar;12:44
em1if is the blank in path result in12:44
em1i will intall bzr to other place next time12:45
=== mwhudson_ is now known as mwhudson
em1 which is easier between stand-alone and python-based installer on window?13:11
em1got to go, bye all13:15
hsn_God, bzr reconcile is s.l.o.w. it runs 4 hours now at 0.5GB repo and still not done15:59
jelmerhsn_, yeah :-(16:00
hsn_its knit, not pack repo but still16:01
beunoit runs billion of times faster on packs  :)16:02
hsn_how can i upgrade shared repo from knit to pack? bzr upgrade doesnt seems to do anything16:05
hsn_bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at t16:06
beunohsn_, you upgrade the the repo16:09
beunoand the branches16:09
beunoso,  /code/shared_repo  <--  bzr upgrade16:09
beunoand, /code/shared_repo/branch  <-- bzr upgrade16:09
=== mark1 is now known as markh
jelmerOdd_Bloke, hi16:39
php6thhi17:58
jelmerhi18:00
* beuno -> airport18:36
eikkehas bzr got in-repository branches like, git-style, nowadays?21:12
pygiwell, you can initialize branches inside a repository :)21:17
pygibut it's not really ala-git style21:17
eikkei dont really care about the internals :)21:18
eikkeI'd need something pretty much like git branching, but this is a pure python project so a native environment mihgt be cool21:19
jelmereikke: the code is there in bzr-loom I think, there's just not much UI for it yet21:19
eikkeok, I'll check that out21:19
eikkestill in research phase luckily21:19
jelmereikke, you may want to ask on the list - the people with the most knowledge about that don't appear to be around atm21:20
eikkeall right21:20
asabileikke: you may also want to check this: http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#reusing-a-checkout21:21
asabilactually it all depends on what you need "internal" branches for21:21
epsyhi, i'm trying to install the bzr-svn plugin, i've put it in ~/.bazaar/plugins/svn/ and ran make, thus it doesnt show up in bzr plugins, but instead shows this warning:23:59
epsyUnable to load plugin 'svn' from '/home/epsy/.bazaar/plugins'23:59
jelmerepsy: any information in ~/.bzr.log ?23:59

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