/srv/irclogs.ubuntu.com/2010/10/30/#bzr.txt

glyphis there a way to customize the font used by qbzr?  (in particular, on the mac)01:00
methodswhen i port an svn repo to bzr can i make it continue from the same revision number ?02:25
jelmer_methods: Hi02:43
jelmer_methods: Depending on how you do the conversion it should still show the old revision numbers in "bzr log"02:43
jelmer_methods: We can't really keep using the same revision numbers - you'd get gaps as bzr's revision numbers are per-branch whereas they are per-repository in svn.02:43
methodsyea but if the initial import of the svn history is in the main branch then the main branch should be boot strapped to the last svn number + 1 or somthing right ?02:49
jelmer_methods: if you have only one branch, yes03:13
methodswhat about svn banches... they are just copies with remembered history ...  how is that transition to bzr ?03:15
jelmer_methods: if the branches were created by e.g. copying from trunk that relationship is preserved03:21
methodsyea i heard that you could have issues if you didn't use a proper naming convention for folders ?03:23
methodsi mean my branches were not names like branches/<name>/trunk03:23
jelmer_methods: yeah, there might be issues if you have branches in usual locations, they might not be imported as branches03:48
jelmer_methods: Since there's no real way of knowing what a branch is in svn03:48
jelmer_methods: if you use /trunk and /branches/<name> as branch names you should be fine03:48
methodsno i never did03:49
methodstell you truth i don't really care it would be nice to have a way to just tell bzr to convert the whole thing as a single branch and not attempt to branchify it... you said history is remembered so that's all tha tmatters03:50
methodscan I tell bzr to treate the whole svn repo as a single branch ?16:15
jelmermethods: bzr branch <location> <new-path>16:19
methodswell I'm going to convert svn to bzr16:19
jelmermethods: Yes, location can be a SVN repository16:27
methodswhat i mean is i want bzr to not attempt to figure out branches in the svn history16:27
jelmermethods: Yes, that's what this will do.16:28
henkeI am having problems using bzr fast-export on a repository of mine. I get an AttributeError that a directory doesn't have a children attribute. However, it seems to mistake a file for being a folder, related to a rename that is listed as.. 'a/b/foo.h' => 'a/c', where 'a/c' is a folder, while other renames are of the form 'a/b/bar.h' => 'a/c/bar.h'. Has anybody run into this problem?18:03
jelmerhenke: I don't think I've seen it before. Have you checked the bugtracker?18:16
henkejelmer, I have been searching a bit but haven't found anything directly applicable.18:17
jelmerhenke: do you have a way to reproduce it on a public repository?18:17
henkejelmer, it seems to think it is a directory rename instead of a file rename into the folder18:17
henkejelmer, unfortunately I don't. I can try to make a new repo to trigger it18:18
jelmerhenke: it could be a kind change (directory being turned into a file)18:18
henkejelmer, it's a file being moved to a directory18:18
jelmerhenke: the change is 'a/b/foo.h' => 'a/c' ?18:19
jelmerso "a/c" is a file?18:19
henkejelmer, yes18:19
henkejelmer, a/c is a directory18:19
henkejelmer, the file is then at a/c/foo.h18:19
jelmerhenke: no, a/b/foo.h is being renamed to a/c18:21
jelmerhenke: assuming this is output from "bzr log -v"18:22
henkejelmer, I used bzr diff -c <rev>, bzr log -v -r <rev> gives:18:24
henkemoment, checking something18:25
henkestrangely enough, it says, disregarding other files: added include/shaders/basicshader.h, renamed: include/engine/basicshader.h/ => include/shaders/, modified: include/shaders/, in the revision after the change, the file basicshader.h is located in include/shaders/18:36
henkejelmer, I think the incongruence could be due to the repo being old and having been upgraded a few times, something going awry along the way with regards to the renames18:36
henkeI wonder if there's any way to reconstruct the repo so that it makes sense at that point19:02
jelmerhenke: I doubt that would be related, this more looks like a bug in bzr-fastexport.19:12
henkejelmer, well, the revision that makes it crash is initially from GNU Arch, and the rename looks wonky. It's computed by the Tree.changes_from() which is not part of fast-export19:16
henkejelmer, it does seem like the file is renamed into a directory (kind-change?), and then a new file with the same contents is added to that directory19:41
jelmerhenke: right, that's a valid operation in bzr (albeit a bit strange) and I suspect bzr-fastexport doesn't expect that19:42
henkeit seems very strange to rename a file into a directory19:43
henkejelmer, thanks for the help, it seems like I managed to make a temporary fix that works20:10
=== frakturfreak_ is now known as frakturfreak

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