/srv/irclogs.ubuntu.com/2013/08/20/#bzr.txt

m_tadeuhi everyone....is there a way to revert a push?00:05
jelmerm_tadeu: you can push the old tip and use --overwrite00:22
jelmersigh00:25
bob2_hah00:27
=== bob2_ is now known as bob2
=== bob2 is now known as Guest69729
=== hloeung is now known as Guest71555
=== Guest71555 is now known as hloeung
=== idnaria is now known as idnar
Marqinhi, i've found some old bzr repo.. how can i check from where is it pulling without pulling??10:19
jelmerMarqin: bzr info10:50
Marqinthx10:55
junrreinHi people, I got a question. How can I configure the default text editor (under Linux)? I tried "bzr config editor=gedit" but when running bzr commit, nano is still used instead.15:13
junrreinI found out, thanks15:20
mgzsetting EDITOR works, as should that config command15:21
kolbeis there some way to branch/checkout only a single file (or directory, or something) from a tree? so that i can keep that file in sync with the file in the tree without having to branch the entire thing?18:58
rozzinkolbe: "bzr export"?19:02
kolbehmmm i don't see how that would help?19:02
rozzinI think it lets you export a subdiretory.19:03
kolbei just want to grab http://bazaar.launchpad.net/~maria-captains/maria/5.5-noga-hf/files/head:/plugin/server_audit/19:03
kolbewell in order to export a subdirectory i would have to first branch the entire repository, which is exactly what i am trying to avoid19:03
kolbei have a feeling this is not possible with bzr19:04
rozzinkolbe: I don't think that's true.19:04
kolbeyou don't think what is true?19:04
rozzinkolbe: I think you can export directly from a remote repository.19:05
kolberozzin: hm ok i'll try19:06
rozzinkolbe: You can also do lightweight checkouts.19:06
kolbe*ideally* i'd like to be able to see version history for just things in this directory and be able to bzr pull to update files in it19:06
rozzinkolbe: ... which avoids downloading all of the history, and just downloads the current revision.19:06
kolberozzin: ok neat, export did work, in that it allowed me to grab just that directory but of course it doesn't have any revision info and i can't bzr pull inside of it to update things19:08
rozzinYeah, that's just not how it works--you can't separate out `just the history for this subdirectory'. History isn't tracked like that; there's not a history-per-file like CVS or ClearCase.19:09
kolbeyeah19:09
rozzinChangesets that can span multiple files are `inside' revisions, not the other way around.19:10
kolbei think bzr doesn't match up very well with how my brain wants to do things, i feel like everything i do is an epic struggle that just ends with me kind of tired and frustrated19:10
rozzinWhat's your frame of reference?19:10
rozzini.e.: what system are you coming from?19:10
kolbeno frame of reference, just trying to do certain things that are apparently impossible with bzr19:11
rozzinLike?19:11
kolbetwo major frustrations so far are how absurdly slow it is to branch a large tree19:11
kolbeand that if my internet connection is interrupted in the middle of that it's impossible to resume19:11
rozzinkolbe: You've never used another version control system before?19:11
kolberozzin: no, not really19:11
rozzinOn the up side, once you go through that huge download, you never have to do it again.19:12
kolberight19:12
kolbeuntil i go set up some ec2 instance or some other VM that i want to use for building things and i end up having to branch it again :)19:13
rozzinYou can avoid the big initial hump, if you want, at the expensive of repeatedly paying it in small increments.19:13
rozzinkolbe: No.19:14
rozzinkolbe: I'm serious: once you get the data into your shared repository, you never need to download it again.19:14
kolberozzin: if i want to set up an environment on some other machine, i either have to manually copy my own shared repository there or i have to branch again19:15
rozzinWell, yeah. If you want to copy the data to another machine, then you have to copy the data to the other machine. :)19:15
kolbei don't want to copy it, i want to be able to set up a new branch without it taking an hour and without me having to copy anything around on my own ;)19:16
rozzinThen do a lightweight checkout.19:16
kolbebut then i don't get revision history?19:16
kolbei'm just whining now, don't mind me :)19:17
rozzinDude--you can't have it both ways.19:17
rozzinEither you want to copy the data, or you don't.19:17
rozzinlightweight checkout `gives you access to the revision history', it just doesn't give you /local/ access to it. It all says remote, which is why the intial action is so much quicker.19:18
rozzinit all _stays_ remote, rather.19:18
rozzinYou can also use a stacked branch.19:19
rozzinThay might be more like what you're looking for.19:19
rozzinAll of the original revision-history data stays remote, but additional revisions that you add onto that are local.19:20
kolberozzin: i think it's mostly frustrating that the branching operation requires so much processing instead of being able to just grab a snapshot of the historical information and download it in a big chunk19:20
rozzinkolbe: You can always start with a lightweight checkout and then `reconfigure' it into a full branch in the background.19:21
kolbeyeah? how do i do that?19:21
rozzinI think it's something like: bzr checkout --lightweigth foo bar; bzr reconfigure --tree bar &19:22
kolbeneato, maybe i'll try that sometime19:23
kolbethanks!19:23
rozzinI mean, you'd really want to run the `reconfigure' in another xterm or screen session or something; you wouldn't actually want to background it, because it'll keep printing stuff out....19:23
kolbeyeah19:23
rozzinAlso, I didn't think there was really that much processing overhead involved in downloading the revision history--isn't it really mostly just the cost of downloading the data?19:24
rozzine.g.: if you have 50 MB of data that you want to download, you have to download 50 MB of data.19:25
rozzin?19:25
rozzinI know you were hoping that you could say `just download the 10 MB of history relevant to this subtree'....19:26
kolbeit seems to be much more than that19:26
rozzinHave you tried just transferring the repository with scp or `ssh ... tar -c ...', and comparing times?19:28

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