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

=== doko_ is now known as doko
lifelesspoolie: landline is diverted, ping me I ring you00:19
chiefinnovatorhi all, how can I find out what revision a file was added?00:20
lifelessbzr log file00:21
chiefinnovatorbzr: ERROR: Path does not have any revision history: PyRSS2Gen.py00:22
chiefinnovatormaybe it was never added?00:22
bob2bzr log --line filename | awk '{print $1}' | sed -e s/://00:22
chiefinnovatorIf I put a new file in the directory and do a commit, does it get added automatically?00:22
lifelesschiefinnovator: no00:22
lifelesschiefinnovator: you need to run bzr add00:22
chiefinnovatorohh00:23
lifelesschiefinnovator: you can use --strict on commit to have bzr error if you have un-added files00:23
bob2perhaps we could have some sort of regexp that designates a "source" file00:23
bob2and automatically add them00:23
lifelessbob2: hi tom, I see you've changed your nick00:23
bob2chiefinnovator: or add "[ALIASES]\ncommit = commit --strict" to ~/.bazaar/bazaar.conf00:24
chiefinnovatorthanks00:24
lifelessbob2: we don't need an explicit include regexp because we have an explicit exclude one00:24
=== bob2 is now known as bob2`
mtaylor  File "/usr/lib/python2.5/site-packages/bzrlib/graph.py", line 48, in <module>00:30
mtaylor    class DictParentsProvider(object):00:30
mtaylor  File "/usr/lib/python2.5/site-packages/bzrlib/graph.py", line 56, in DictParentsProvider00:30
mtaylor    @symbol_versioning.deprecated_method(symbol_versioning.one_one)00:30
mtaylorAttributeError: 'module' object has no attribute 'one_one'00:30
mtaylorhm00:31
mtaylorthat's no fun00:31
mtaylornm... I think I know what the problem is... maybe...00:32
=== bob2` is now known as bob2
lifelessmtaylor: interesting01:31
=== kiko-fud is now known as kiko-zzz
mtaylorlifeless: so, I got that from having a running bundlebuggy and then upgrading bazaar out from underneath it01:42
=== poolie_ is now known as pooliex61
Solarionwhat is "rich-root" format?01:49
fullermdIt emails your credit card number to your sysadmin.01:50
bob2it stores information about the branch root (.)01:50
bob2in practice, "it's the branch format you need to use bzr-svn"01:50
ubotuNew bug: #187207 in bzr "commit reports error when a file has been moved and then removed in the same revision" [Undecided,New] https://launchpad.net/bugs/18720702:01
Solarionbob2: danke02:02
bob2(or rich-root-pack)02:11
lifelessalways go for rich-root-pack over rich-root02:13
bob2both seem a lot slower for pulling from a pack repository than regular pack02:14
Solarionhow does one select rich-root-pack over rich-root?02:14
lifelessyup02:14
lifelessdifferent code path02:14
bob2like orders of magnitude02:15
lifelessbob2: thanks :)02:15
bob2Solarion: --rich-root vs --rich-root-pack to bzr init-repo/upgrade02:15
bob2hah02:15
lifelessSolarion: but only use --rich-rooot if you are using bzr-svn02:15
lifelessbob2: I worked quite hard to make packs fast :)02:15
Solarionlifeless: I am indirectly02:16
Solarionthis is a branch of my working branch02:16
bob2lifeless: yeah, I've noticed :) is rich-root-pack going to be able to inherit much of that work?02:24
fullermdActually, I imagine it does, if it's pulling rrp->rrp.  It's p->rrp that doesn't get the benefit.02:24
bob2hm02:24
fullermd(that's just a guess, of course)02:25
jelmer--rich-root-pack should be as fast as --pack-0.92 I think02:32
jelmerit only uses a slightly different serializer02:32
=== mw is now known as mw|out
mwhjelmer: so loggerhead actually already supports file path/revision number based urls02:33
jelmermwh: oh ok02:33
jelmermwh: what url format should I use?02:34
mwhthere is no way to know this without reading the source though02:34
mwhjelmer: i can't remember :/02:34
mwhi think you just put the revno where the revid would be02:34
mwhand append the path02:34
bob2pulling bzr.dev into a rich-root-pack repo is about 50% slower than into a pack one, and throws a missing revision error02:34
mwhso it's like http://loggerheadroot/annotate/$revno/file/path02:34
jelmerbob2: Right, I mean from rich-root-pack to rich-root-pack02:35
bob2jelmer: ah02:35
jelmerbob2: Anything that converts between formats is probably going to be slower (because you need to deserialize and reserialize)02:36
bob2ah - pack to rich-root is like 50x slower02:37
fullermdpack->knit (which r-r is) is probably real slow, since is has to generate the annotations...02:38
bob2ahhh02:38
jearlSo what's the point of rich-root and rich-root-pack?02:50
lifelessbob2: don't pull bzr.dev into rich-roots yet anyhow, see the bug on lp about inventory sha corruption02:51
bob2ah02:51
bob2is it possible to get bzr log to show diffs?03:15
bob2or did I imagine that03:15
skwashdhi all03:24
skwashdany idea why ubuntu is shipping an uninstallable version bzr-svn in gutsy?03:25
mtaylorskwashd: why is it uninstallable?03:25
skwashdcos it depends on 0.91 yet the version of bzr in gutsy is 1.0.103:26
mtaylorI think that's the version of bzr from bazaar-vcs.org03:26
skwashd\bzr-svn: Depends: bzr (< 0.91~) but 1.0-1~gutsy1 is to be installed03:26
mtaylorgutsy doesn't have 1.0 to the best of my knowledge03:26
bob2it's in gutsy-backports03:26
mtaylordid you add the bazaar-vcs.org apt sources to your sources.list?03:26
mtaylorah03:27
bob2but an updated bzr-svn is not03:27
mtaylorwell then.03:27
* mtaylor recommends the bzr ppa ... but that's not really the question here, so he'll shut up now :)03:27
skwashdmtaylor: ok i will try that03:28
bob2skwashd: if you can live with older bzr, sudo aptitude install bzr=0.91, or what mtaylor said03:28
mtaylorwhich will give you bzr 1.1.003:29
pooliex61mtaylor, you're the second person to mention this03:31
pooliex61could you file a bug on launchpad please?03:31
beunoquick question. What is used to output messages with line breaks in bzr?  been pokng around but I can't find any examples03:37
skwashdgreat now i have bzr 1.1 installed03:48
skwashdnext issue :)03:48
skwashdi have 2 svn repos ... i want to be able to merge from one to the other ... can bzr handle that?03:49
abentleybob2: you imagined it, but feel free to make your dreams reality.  The API for diffing is pretty straightforward.04:55
bob2hehe04:56
igcbbiab04:56
abentleyfullermd: that's a planned feature, but not here yet.04:58
bob2abentley: hm, do you think it'd be more reasonable to show diffs for each (nested) revision, or just leaves?04:59
lifelessbob2: I proposed log -vv to do this on the list a week or two ago05:01
abentleybob2: I use log-format=short, because I don't want to know about nested versions.05:01
lifelessbob2: patches for the win05:01
bob2ah05:01
bob2lifeless: hah, missed that, but that's the command I was trying05:01
lifelesslog -v -> status05:01
lifelesslog -vv -> diffs05:01
lifelessas abentley says, get it working :)05:01
abentleySo I don't know what someone using log-format=long would want.05:01
fullermdIf bob2 touches the code, that means he gets all wishlists for the output forever, right?   ;)05:02
lifelessfor long, I would like to see the diff against each left hand parent05:02
bob2fullermd: the bikeshed will remain unpainted05:02
lifelesshmm05:02
lifelessor05:02
lifelesspossibly better05:02
abentleyEither that, or that shade of puke green that Tom's so fond of.05:03
lifelessthe diff against the next output revisions05:03
lifelessabentley: zouch05:03
bob2haha05:03
lifelessabentley: you should be careful now; as an employee of The Evil Corporation(TM) you are now ripe for abuse and slander05:03
bob2(I was looking for the diff that showed why bzrlib.fetch.Fetcher was removed and broke the fetch command)05:03
abentleylifeless: oh fun.05:04
lifelessbob2: actually for diffs its easy: do the same diff that log -v does status off05:04
lifelesss/off/of/05:04
lifelessbob2: that way, we can just change both at the same time if so desired05:05
abentleylifeless: +105:05
abentleyoh, btw: did BB send you an error message for your bb:discuss-please ?05:07
lifelessyes05:07
abentleySorry about that.  But I'm glad the error reporting's working.05:08
lifelessoh I was expecting something of the sort :)05:08
bob2heh, perhaps it is time to remove legacy_lf05:10
bob2lifeless: I can't quite figure out what you mean by "do the same diff thsat log -v does status off"05:32
fullermdDo the diff relative to the revision that it does the stat relative to for the filenames affected.05:32
bob2right05:34
bob2hm05:36
abentleyOh good grief!  I didn't even know we *had* a "get_deltas_for_revisions" method.05:50
lifelessabentley: didn't you add that ?06:19
lifelessabentley: btw, thats the sort of method I expect repo's to specialise :)06:19
poolielifeless, i'm off the phone etc, but i guess you'regone06:51
poolieor anyhow you should go, soon06:52
lifelessheh06:52
lifelessyou had a phone day huh?06:52
poolieyeah06:53
poolieone more mail, then it's either you or the bike :)06:53
lifelesson your bike06:54
lifelesslets talk tomorrow avo06:54
lifeless3ish06:54
pooliefine with me06:55
* lifeless is about to wow06:55
poolieenjoy06:55
=== mrevell_ is now known as mrevell
=== kiko-zzz is now known as kiko
ubotuNew bug: #187267 in bzr "UnicodeDecodeError with non-ASCII character in filename" [Undecided,New] https://launchpad.net/bugs/18726709:50
vilajelmer: ping, got a workaround for the infamous '_' used for gettext in bzr-gtk clashing with bzr selftest10:25
jelmervila: ah, nice10:41
jelmervila: any chance you can send an email to the bzr-gtk list?10:42
vilajelmer: :) That's the bit I was searching, my last patch to bzr-gtk is so old I can't remember the workflow :)10:42
vilajelmer: is there a bug on lp or that ?10:44
vilas/or/for/10:44
jelmerI'm not sure10:44
jelmerit's a bit quiet in bzr-gtk land at the moment10:44
vilajelmer: Ok, I'll  file one then10:55
ubotuNew bug: #187280 in bzr "Running 'bzr -log -r branch:../other_branch' raises ReadOnlyError" [Undecided,New] https://launchpad.net/bugs/18728010:56
Toksyuryelbzr rocks ^_^11:00
* Toksyuryel just wanted to say that11:00
vilaToksyuryel: thanks :)11:00
ubotuNew bug: #187283 in bzr-gtk "bzr selftest bizarre errors related to '_''s gettext" [Undecided,New] https://launchpad.net/bugs/18728311:05
jelmervila: are you going to post the workaround too ? :-)11:08
vilajelmer: sure :) Finishing the mail, I needed the bug number before hand :)11:08
vilajelmer: sent11:13
jelmerthanks :-)11:17
muffinresearchThe bazaar site has a list of projects that use bazaar http://bazaar-vcs.org/WhoUsesBzr. Is this up to date and does anyone have any other good examples of  large projects/companies using bazaar?12:24
quik__hey folks13:16
quik__the bzr mac port seems to always be broken13:16
quik__is there anything that I should know?13:17
PengWell, the developers are all goths from Mars.13:19
* Peng gets booed off the stage.13:20
beunoPeng, hehehe, it's early/late in the morning/evening for jokes that complex  :p13:22
quik__I reckon they might be. firstly they have a special deb-source for ubuntu. then the ports never work13:22
quik__ubuntu universe, like the rest of the world uses.. is WAY out of date13:22
beunoubotu, last time I heard they had make a dmg for OSX for 1.1 that seemed to work fine. Where are you downloading from?13:24
beunoargh13:24
beunos/ubotu/quik__13:25
brink__quik:  I just installed 1.1 on OS X.   You have to have xcode installed.   Otherwise some of the dependencies crash and burn.13:25
quik__I just installed leopard and xcode 3.0 on this laptop yesterday13:25
brink_Not trusting xcode 3.0, I did 2.5.13:26
snoddid youz try macports?13:26
quik__it installed a few weeks ago on two other machines that are on the same..13:26
quik__yes, always macports13:26
brink_Me too.13:26
snodokay, because that worked for me, though I'll have to stick with tiger and Xcode 2.513:27
brink_You should also uninstalled and clean the dependencies.  I did  that after it failed.13:27
brink_Then it worked.13:27
brink_Too bad xcode isn't available via macports.13:28
quik__I think apple think that macports is a bastard child that dirty developers use13:36
quik__I can't understand that its not built into the os or even installed with xcode13:36
=== mrevell is now known as mrevell-lunch
MythosHi!13:52
MythosI would like to ask something about the smart server!13:52
MythosI have set up a smart server through inetd with --directory=/home/lala/bzr-repo which is my repository13:53
MythosSo bzr branch bzr://host/branch1, where branch1 a branch in my repo, works ok.13:54
MythosBut trying to push changes through bzr push bzr+ssh://login@host/branch1 throws the following error13:54
Mythosbzr: ERROR: Parent directory of bzr+ssh://login@host/branch1 does not exist13:54
MythosAnd I can push only if I give the full path, like:13:55
Mythosbzr push bzr+ssh://login@host/home/lala/bzr-repo/branch113:55
MythosWhy I can't just bzr push bzr+ssh://login@host/branch1?13:55
snodmy guess, because your logging in via ssh you don't use the smartserver from inetd13:57
MythosProbably you are right, because I also can't branch with  bzr branch bzr+ssh://login@host/branch114:00
PengYes.14:00
Mythosbzr: ERROR: Not a branch: "bzr+ssh://papadako@groogle.csd.uoc.gr/branch114:00
Pengbzr+ssh sshes in and runs "bzr server".14:00
PengAnd its paths are relative to the root of the server.14:00
MythosOk. So I can't do anything about it, right?14:01
MythosRelative paths are smaller than full paths.14:01
snodperhaps a chrooted ssh enviroment could work14:02
PengWell, not easily, anyway.14:02
PengWhat he said, or maybe the contrib/bzr_access script, or some sort of ssh configuration.14:03
MythosOk. Thank you!14:03
PengWell, if you have root access, you can put your repos in /srv/bzr or something.14:04
MythosYep, this could also work14:05
MythosOne more question..14:15
MythosRelated to the webserve.14:15
MythosLast change for each branch, shows 38 years....14:15
MythosSee http://groogle.csd.uoc.gr/bzr/14:16
MythosLike it does not read info from the branch.14:16
vila38 years ago is 1970, i.e Unix epoch or (time == 0), I'll check file last modification time and time itself on the server...14:23
MythosTime on the server is fine14:40
MythosWed Jan 30 17:20:15 EET 200814:40
Mythoshttp://groogle.csd.uoc.gr/bzr/groogle-2007 for example shows correct info14:41
MythosIt is the main page showing 38 years.14:41
MythosAlso I hit a bug in http://groogle.csd.uoc.gr/bzr/terrier-devel14:41
Mythos<type 'exceptions.IndexError'>: list index out of range       args = ('list index out of range',)       message = 'list index out of range'  014:41
Mythosin templater.py14:42
=== mrevell-lunch is now known as mrevell
=== weigon_ is now known as weigon
=== mw|out is now known as mw
=== kiko is now known as kiko-fud
muffinresearchThe bzr vs hg page on the wiki mentions bazaar having integration with bugzilla out of the box. Can any one point me in the direction of documentation on this feature?15:36
abentleymuffinresearch: bzr help bugs15:41
muffinresearchExcellent thanks for that15:43
ubotuNew bug: #187330 in bzr "Commit failed with attribute error" [Undecided,New] https://launchpad.net/bugs/18733015:56
ubotuNew bug: #187342 in bzr "'bzr add --verbose' quietly ignores subdirs with their own .bzr" [Undecided,New] https://launchpad.net/bugs/18734216:40
nebuchadnezzarhello16:47
nebuchadnezzarI want to use a shared repository on a remote server to keep configuration files, but I want a process on this server to use this configuration.16:49
nebuchadnezzarI planned to make a 'rsync in the after commit hook' but I think there is a better solution16:49
asabilpush-and-update ?16:50
nebuchadnezzarsomething like that yes16:50
nebuchadnezzarit doesn't seems to work over sftp :-/16:50
nebuchadnezzardebian sid bzr 1.1~rc1-116:50
nebuchadnezzarok, push-and-update is a plugin16:51
nebuchadnezzarasabil: thanks, I'll test this, but I wonder if it can works with merge ?16:52
abentleynebuchadnezzar: If you're doing merges, you should always do them locally anyhow.16:55
ubotuNew bug: #187349 in bzr ""bzr branch" throws MemoryError" [Undecided,New] https://launchpad.net/bugs/18734916:55
nebuchadnezzarabentley: ok, thanks16:56
nebuchadnezzararf, it need bzr on the remote side, ok16:58
b0efehlo18:41
b0efI get a criss-cross merge18:41
b0efis even bzr merge --weave ../foobar supposed to tell me "criss cross merge encountered"?18:41
abentleyYes.18:42
b0efbut I can expect that everything is fine?;)18:42
abentleyIf you have no conflicts, you can.18:43
abentleyCriss-cross refers to the context in which you're doing the merge.  --weave just changes how you do the merge in that context.18:43
b0efright, I'll just --weave and criss-cross fingers, then;), thanks18:44
abentleyIf you've got a recent Bazaar, --lca is faster and should give better results than --weave.18:45
b0efabentley: thanks, I'll try18:47
datoI did a --lca the other day, and it didn't gave me a conflit where I was expeting one18:47
datoexpecting18:47
datoand well, between the two possibilities, it didn't do the one I wanted18:47
b0efno, I don't have any conflicts; it's just that I read that I might loose some history18:47
abentleydato: Okay, if you can send me details I'd appreciate it.18:49
datosure, hang on18:49
datoabentley: I mailed you a recipe18:59
abentleydato: Thanks.  I've followed it, but NEWS produces conflicts whether I specify --lca or --merge3.  The output is identical.19:09
datoabentley: I think I said TODO, not NEWS?19:10
abentleyOh, my bad.19:10
datook19:10
abentleyYes, I confirm the difference in TODO.19:12
abentleyHowever, I'll point out that --weave has the same problem as --lca for cases like this.19:17
abentleySo I still think --lca is better that --weave, it's just not better than merge3 for this case.19:18
datooh, indeed. I couldn've sweared I got a conflict with --weave.19:18
datobut you're right19:18
datocould've19:19
abentleyI'll see what I can do to ensure conflicts in this case.19:19
datook, thanks for taking a look19:19
abentleyThanks for the report.19:20
lifelessmoin20:11
james_whi lifeless.20:13
james_wsafely back?20:13
lifelessyup20:13
abentleySafe for who? (ducks)20:18
lifeless:-20:19
jamlifeless: ping21:06
james_wjam: hi21:06
jamhi james_w21:06
james_wjam: I got 550 Administrative prohibition when sending to your email account, did I do something to offend your mail server?21:07
jamhmm. I haven't seen Administrative prohibition, I've do have a greylist that asks people to try sending again after a while21:07
jamyou might just try re-sending your email21:08
jamwhich is usually enough to get past the greylist21:09
fullermdGreylist certainly shouldn't 5xx, though.21:10
james_wjam: I assume you will get it via the list, so it's no loss.21:10
jamI admit to not being a mail guru, but I'm thinking it was giving 4xx21:11
jamjames_w: well, I have no-dupes turned on, so I may not21:11
fullermdHate that option.  Hate mailing lists that set it by default.21:12
james_wjam: looking in my logs it seems I also got a 450 Client host rejected: cannot find your hostname, [89.145.97.141]21:12
m3thoswhy is a reverse dns failure a motive to reject a host ?21:13
jamfullermd: it works very well for me21:13
fullermdIt's not rejected, it's deferred.21:13
jamfullermd: it might be rejected21:13
jamI get a lot of spam21:14
fullermd('course, presumably the sending host will stop trying eventually)21:14
jamThe grey-list should be asking them to resend later21:14
jambut if I can't do a reverse lookup21:14
jamit may consider you suspect21:14
fullermdIt's still 4xx'ing.  It won't get as far as the greylist checking then.21:14
jam# Reject sender hostname without DNS A or MX record, permit sasl users,21:14
jam# permit $mynetworks, check for permit/reject in /etc/postfix/access.21:14
jam#21:14
jamsmtpd_sender_restrictions = reject_unknown_sender_domain,21:14
fullermdYou wouldn't want to 5xx a PTR lookup failure, since that can be transient.21:14
jam        permit_sasl_authenticated, hash:/etc/postfix/access21:15
fullermdI find it easier to have all my restrictions in _recipient_restrictions; that way I can avoid repeated lookups, and have the precedences all the way I want 'em.21:15
lifelessjam: pong21:15
fullermd(of course, it's also 28 lines long, which may seem excessive...)21:15
james_wjam: ah, it's a different host that sends the 55021:16
lifelessm3thos: spammers21:16
fullermdBut anyway, that error james_w pasted is from reject_unknown_hostname, not a sender call.21:16
jamlifeless: I wanted to pick your brain a bit about bug #18716921:16
ubotuLaunchpad bug 187169 in bzr "Partial commit with mv and rm under breaks dirstate" [Critical,In progress] https://launchpad.net/bugs/18716921:16
lifelesssure21:16
james_wit hits your secondary MX for the retry, and get's the 550.21:17
jamSo the first issue is that we have a rename and a file underneath that directory is deleted21:17
jamI checked with the old "knit" format21:17
jamand under that condition21:17
jamwe would get a renamed foo => bar to be committed21:17
jambut the delete would still be pending21:17
lifelessbleep21:18
jamI think it is arguable which should happen (since the user script deletes it *after* the rename), but we can preserve either behavior21:18
jamSo the failure of "update_basis_by_delta" is that it expects you wouldn't be renaming a file to a "deleted" target21:19
lifelessit sounds like we are creating an invalid delta?21:19
* fullermd would absolutely expect the delete to be committed, FWIW.21:19
jamlifeless: well, the old code would have created a new record which is marked as already deleted21:19
fullermd(short of a commit --no-recurse or some such option)21:19
jamfullermd: there is a small problem in detecting that it happened, but I do understand your point21:20
fullermdI wouldn't expect the order of operations to matter, just the state when you 'commit'.21:20
lifelessfullermd: interesting topic, but orthogonal21:21
jamfullermd: sure, it is more that when you delete the file after the rename, the way it is stored makes it a little bit trickier to tell that it should be affected by the partial commit21:21
lifelessfullermd: perhaps we can focus on the bug-in-hand21:21
jamlifeless: anyway, the update_basis_by_delta code assumes that the target won't be marked "absent"21:21
lifelessjam: so we have /deleted-path (A, F)21:21
lifelessand we issue a rename in the delta ? /deleted-path -> /renamed-deleted-path21:22
lifelessbut rather than getting (A, R(/deleted-path))21:22
jamit borks21:23
jamwith "invalid ..."21:23
jamand then stops processing the delta21:23
jamwhich borks future operations because the rename was only partially applied21:23
lifelessok21:24
lifelessso lets do two things here21:24
lifelesslets make this transactional21:24
asabilis bzr-svn able to handle https repos ?21:24
asabillike google code ?21:24
lifelessmark the dirstate as in-memory-fucked, and refuse to write it out21:24
lifelessasabil: yes21:24
asabilhmmm then what is wrong :21:24
jamasabil: I *think* you have to connect to it with the raw svn client first21:24
jamso that it can save the credentials21:25
asabilUnable to handle http code 401: expected 200 or 404 for full response.21:25
jamand then use "svn+https://"21:25
lifelessasabil: thats in the faq I believe21:25
asabiloh ok thanks21:25
fullermdThis may or may not be related to bug 187207, too.  The trigger and symtoms are a bit different (not partial, second commit succeeds, stat doesn't fail), but it's a similar dirstate errror.21:25
ubotuLaunchpad bug 187207 in bzr "commit reports error when a file has been moved and then removed in the same revision" [Undecided,New] https://launchpad.net/bugs/18720721:25
asabilso https is basically "half" supported21:25
jamasabil: AFAIK it is a problem with the SVN bindings not exporting the right stuff so that we can handle authentication prompts21:26
asabilokidoki21:26
jamwhich I think might be fixed in newer python-subversion bindings, which means it is also fixed in newer bzr-svn21:26
jambut I'm going from hazy memory of conversations with jelmer21:27
jelmershould work with all versions of python-subversion21:27
jamjelmer: I thought you couldn't authenticate to svn+https21:27
jelmerbut you may have to prefix the url with "svn+" otherwise bzr-svn never sees the connection21:27
jelmerjam: You can, if you let svn do it for you21:27
jamusing svn+?21:27
jamor you have to connect using svn one time and save the auth21:27
jelmerjam: or with python-subversion 1.5 bzr-svn can prompt you21:27
jamjelmer: that is what I thought, which is what I was trying to get across21:28
jelmerjam: sorry, I just read the line that said "jelmer" because that's the bit xchat highlighted21:28
jamlifeless: so, back to our thread.... I agree about marking the dirstate as IN_MEMORY_BROKEN21:28
jamhow would you handle renaming an absent record?21:32
jamAt first I thought about just skipping the error check21:32
jambut it seems to complain later on, too21:32
lifelessso the record is not included in the delta21:33
lifelesserm rephrase21:33
lifelessa delta that has a rename with a child that is absent21:33
jam(the first error is when it goes to process the delete side of the rename, it expects the file to have existed, the second error is when it goes to add the record, it expects the target path to already exist)21:33
lifeless[/foo->/bar], and /foo/quux is marked absent21:33
lifelessis that the situation ^ ?21:33
jamlifeless: correct21:34
lifelessso expanded we get [/foo/quux, /foo, /bar, /bar/quux] as the order of paths we touch21:34
lifelessor thereabouts21:34
lifelesshmm, so the question is 'is it valid to rename a deleted file'21:35
lifelessif we say 'no' then we have to fix commit to spider out file ids properly21:35
lifelessrather than the current broken code21:36
lifelessthis is quite easily actually, with dirstate21:36
lifelessand I think that failing to commit the delete is definately a bug21:36
jamI'm curious if there would be another way to trigger this21:37
jamsuch that update_basis_by_delta should really handle it21:37
jambut otherwise I agree with you21:37
lifelessI think foxing the corruption is sufficient for now - if another case turns up we'll get a bug report :)21:37
abentleylifeless: fwiw, I think it should valid to rename a deleted file.  TreeTransform is explicitly designed to support that.21:38
lifelessabentley: in terms of historical trees though, this shows up as a rename and no delete21:38
abentleyI would hope it would show up the same way as the reverse order would.21:39
abentleyi.e. rename, delete.21:39
lifelessabentley: the delete is being skipped by commit21:39
lifelessabentley: so the delta does not include the delete21:39
jamlifeless: that, and if it did show the delete, it would show up as only a delete21:41
lifelessjam: right, but that would be correct and ok21:41
jamie, it would show "old/b" deleted, not "old/b renamed to new/b" and "new/b" deleted21:41
asabilhttp://pastebin.be/869621:44
asabilbzr exception with bzr-svn and google code21:44
james_wjam: I think that is just as accurate assesment of what happended.21:44
jamasabil: now there is an interesting path: /svn/!svn/vcc/default21:45
james_wjelmer: ^ have you seen that before?21:46
asabiljam: yep :) google code seems funky21:46
james_wasabil: https://lists.ubuntu.com/archives/bazaar/2008q1/036473.html21:49
james_wasabil: svn proplist https://waf.googlecode.com/svn/trunk/21:50
asabiloki21:51
asabilbut this doesn't happen in the beginning21:51
asabilit happens at the end21:52
asabiland with an svn co21:52
asabilI get this after it is finished21:52
asabilsvn: REPORT request failed on '/svn/!svn/vcc/default'21:52
asabilsvn: REPORT of '/svn/!svn/vcc/default': 200 OK (https://waf.googlecode.com)21:52
asabilis it possible to convert an svn checkout into a bzr branch ?22:01
jelmerasabil: "svn co" (no bzr involved) also fails?22:02
jelmerasabil: Please file a bug against google code22:02
asabiljelmer: yes, but I can continue using an svn up22:02
jelmerasabil: still, that means there's a bug there22:02
kjcoleqbzr plugin on the mac broke "bzr commit" ("bzr qcommit" still works.)22:02
jelmerasabil: a server bug most likely (googlecode uses a custom svn backend)22:03
kjcole(Error is "bzr: ERROR: [Errno 13] Permission denied")22:03
jelmerasabil: you can convert from a svn checkout to a bzr branch but it will use the same code patrh22:04
jelmerand will make the same requests to the svn server22:04
asabiloki :'(22:05
kjcoleI just installed both today on a mac.22:05
lukshow could installing qbzr cause "Permission denied"?22:12
lifelessthe full backtrace may help22:17
lifelesscheck ~/.bzr.log22:17
kjcoleluks I dunno.  I may be misinterpreting things as I hadn't tested much on the mac.22:17
kjcolelifeless, luks I just posted the log to launchpad22:17
kjcolelifeless, luks (under qbzr bugs)22:18
lukskjcole: the first commit was `bzr commit -m '...'` or `bzr commit`?22:20
luksthe bug doesn't look qbzr related to me at all22:20
luksit has trouble launching the editor22:21
kjcoleluks, bzr commit22:21
luksand it started an editor?22:21
kjcoleluks, I've got my default editor set to emacs, which works fine on ubuntu (except that it doesn't delete the temp log file).  It appeared to work on OS X as well...22:21
lukscheck ~/.bazaar/config.conf22:22
lukser, ~/.bazaar/bazaar.conf22:22
kjcoleluks, http://pastebin.ubuntu.com/4015/22:27
lukswhat happens if you remove the editor = "" line?22:27
kjcoleluks, qbzr put in everything after the email line when I did the qconfig22:28
luksyes, that's probably the problem22:28
luksdoes it work if you remove it?22:28
kjcoleluks, which is why I never thought to look at it.  So, that would be a qbzr bug?  (Removing now...)22:29
kjcoleluks, that was it.22:30
luksok, I'll try to convince ConfigObj to remove it instead of clearing it22:31
kjcoleluks, if I decided to enter a value there, what's it looking for?  full path to my editor of choice?22:32
luksjust the command name would be fine, if it's in PATH22:33
kjcoleluks. thanks.22:33
kjcoleP.S. what about command line arguments?  (for example "nano -bkw"?)22:34
luksno idea, try it :)22:34
kjcoleHeh.  ;)22:35
kjcoleluks, FYI It seems to work fine with the arguments.22:37
james_wThe tarball of 1.1 on launchpad doesn't correspond to the tree of the last revision on the 1.1 branch. Should we release a 1.1.1 to fix this?22:38
james_wsee bug #187330 for the details22:38
ubotuLaunchpad bug 187330 in bzr "Commit failed with attribute error" [Undecided,New] https://launchpad.net/bugs/18733022:38
igcmorning22:49
james_wmorning.22:52
jamigc, poolie : meeting now?23:02
igcI'm on23:02
igcjam: poolie is still on a call apparently23:03
ubotuNew bug: #187452 in bzr "Graph.find_differences() is confused by shortcuts" [Medium,Triaged] https://launchpad.net/bugs/18745223:31

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