/srv/irclogs.ubuntu.com/2011/04/26/#bzr.txt

=== AdamDV is now known as Guest71725
=== Guest71725 is now known as TuxIce
=== TuxIce is now known as AdamDV|iPad
=== Tethy is now known as Teth
=== AdamDV is now known as Guest83775
=== Ursinha is now known as Ursinha-afk
rsinghhello all05:00
rsinghi was able to push my code onto my production server, no problem. i have now used branch to pull that code onto another machine, my laptop, and it worked05:00
rsinghthe problem is that i cannot see anything on my browser if i run the webapp05:01
rsinghmy index.php comes up as blank on the browser, though there is code in that file05:01
lifelessyou probably can get the code visible on your server by doing 'bzr checkout .' in that directory05:02
lifelessthere is a plugin though, designed specifically for publishing websites, called 'bzr-upload' which may suite your needs even more closely05:02
rsinghlifeless: sorry, that didn't do the trick05:03
rsinghlifeless: it's just strange that my browser doesn't output anything from index.php05:03
rsinghhold up, lemme check something05:04
rsinghalright, i figured it out05:07
rsinghmy index.php was using an incorrect (on my local) path to my framework files05:07
rsinghanways, thanks for your help lifeless05:08
lifelessah!05:08
lifelesscool05:08
jam1morning all08:35
=== jam1 is now known as jam
jelmerjam1: You seem to be in luck, we never have weather this nice around easter :)10:17
quotemstrWhat's the easiest way to collpase multiple revisions into one?11:27
quotemstrSay I have a local branch with lots of commits that make changes, undo mistakes, fix typos, and so on, but want to push upstream a single, neat change.11:28
quotemstrI could take a diff, revert to the parent revision, then just apply the diff with patch, but that feels ugly.11:28
lifelessquotemstr: generally in bzr folk don't feel the urge because the tool is good enough to show good diffs11:48
lifelessquotemstr: but if you feel the urge there are a couple of recipes. The most robust one (doesn't care if you've meged from upstream etc) is:11:48
lifelessmake a fresh branch from upstream; bzr merge your branch; bzr revert --forget-merges; bzr commit -m "shiny"11:49
lifelessnight all11:49
=== Ursinha-afk is now known as Ursinha
kgoetzisn't there a rebase plugin that would do something like that ?12:03
Takrebasing doesn't have anything to do with collapsing changesets12:04
kgoetzhm, i thought thats almost exactly what people used rebase for12:14
AfCRebase will preserve the number and nature of the commits - it just fucks history.12:14
maxbPeople get confused because git rebase -i does lots of things which are not technically rebasing12:15
kgoetzmaxb: that'll be where the confusion comes from. i hear people rabit on about it all the time12:17
kgoetzAfC: interesting feature12:17
jelmerit would be interesting to have some way to reshape the revision graph12:17
jelmerthere are some valid use cases for it12:17
Takcollapsing?12:22
jelmerno, but reshaping a history graph e.g. when combining parallel imports12:23
bialixhi jelmer12:40
bialixI've landed the support in qbzr for configurable tab width today12:41
bialixhttps://code.launchpad.net/~abudden/qbzr/qbzr-tabstop-width/+merge/5655312:41
bialixwe store tab width settings in bazaar.conf (and could be branch.conf) as tab_width = N12:42
bialixyou may want use it for bzr-gtk12:42
jelmerbialix: cool, I'll be sure to give it a try some time12:43
bialixok12:44
=== zyga is now known as zyga-afk
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Tethy is now known as Teth
=== zyga-afk is now known as zyga
=== deryck is now known as deryck[lunch]
LeoNerdHow intelligent are the globs in .bzrignore? Can I set an entire regexp? I want to ignore  (MY)?META.(yml|json)16:56
LeoNerdEr.. \.  as a regexp16:56
beunoAFAIK, they are proper regexes16:57
maxbbzr help ignore ?16:58
maxbThey're globs by default, because that's the clearest and simplest option for most things, but you can use a RE: prefix if you want16:59
LeoNerdAhh OK17:21
* LeoNerd finds ~/.bazaar/ignore, adds globally :)17:22
=== deryck[lunch] is now known as deryck
=== beuno is now known as beuno-lunch
=== medberry is now known as med_away
=== med_away is now known as medberry
=== medberry is now known as med_out
=== med_out is now known as medberry
globmorning all; 'bzr status' is reporting a file as missing (it's a .moved file); how do i tell it that i don't care about that file?18:29
globthe documentation for status doesn't even list 'missing' as a possible state18:31
globnevermind; i figured it out...18:34
globi created an empty file with the same filename that bzr said was missing18:34
globbzr reported this file now as 'added'18:34
globthen i deleted the file with 'bzr del'18:34
=== Ursinha is now known as Ursinha-lunch
=== beuno-lunch is now known as beuno
FidelixHello. I already have a repo in a remote server. I made a tar.gz, downloaded my project from the remote server and unpacked on my PC. Now I want to put the files on my PC under VC. Can someone instruct me to do that?19:03
achianghello, seeing a strange oddity i don't understand. i add a new file (mylib.so) to a directory that is versioned by bzr. bzr status should then say it is an unknown file, but it doesn't see it at all. i don't seem to have a .bzrignore anywhere that i can tell19:23
fullermd.so's are in the default ignore list.19:24
achiangso how do i whitelist it?19:25
achiangjust bzr add it specifically?19:26
fullermdYou probably don't want to take it out of the default ignores, since everybody will assume they're there.  You can...  yeah, I type too slow   :p19:26
fullermdignore just means that 'status' doesn't consider it unknown, and a recursive 'add' won't automatically add it.19:26
fullermdYou can still add it manually, no problem.19:26
achiangok19:26
achiangthat was a little sneaky19:26
achiangbut i got it now, thanks19:26
ChrisWoollardEvening all.19:33
ChrisWoollardDoes anybody know how i can export a list of people that have contributed / commited to a bzr branch?19:34
fullermdThere's something in the stats plugin that counts up revs by author, AIR...19:48
ChrisWoollarddo you have a url for that plugin?19:49
ChrisWoollardi think i have found it19:51
ChrisWoollardthanks19:51
Fidelix_Hello. I already have a repo in a remote server. I made a tar.gz, downloaded my project from the remote server and unpacked on my PC. Now I want to put the files on my PC under VC. Can someone instruct me to do that?19:51
m4n1shis Jelmer here?19:52
m4n1shwhat is his nick?19:52
=== Fidelix_ is now known as Fidelix
LeoNerdugh.... since when did "bzr up" decide to become "bzr merge" if there's divergent history, without prompting?20:27
LeoNerdIt totally ruins my branch :/20:27
LeoNerdand how can I have it back on the "throw an error if there's divergent history" behaviour?20:27
fullermdThat would be the "bound branch" side of things coming around to bite.  It's always done that...20:30
LeoNerdI don't recall it doing so20:31
LeoNerdbzr up  always used to fail with an error about divergent history20:31
glyphLeoNerd: bound branches have always done that for me20:32
glyphLeoNerd: otoh that's why I don't use bound branches :)20:32
LeoNerdInteresting.... mine haven't... :/20:32
LeoNerdHrmmm20:32
LeoNerdIn that case.. hrmm.... any way I can fix it currently..? and separately, any way I can make it not do that again in future?20:33
LeoNerdI want my workdir back in its divergent state, so I can rebase it20:33
fullermdNo automated way.  You can dig around for the revid and set it as the head.20:34
LeoNerdAhyes... remind me..? bzr heads --something to list it...20:34
fullermdThe default position is 'heads --dead'.  I'm not sure if the head counts as dead if it's a parent of the WT.20:36
fullermdProbably does; I think it only considers branches as enlivenating.20:36
fullermd(better still would be to bzr list-workingtree-parents of course...  only a minor issue with that)20:36
LeoNerdSo having found the revid, now what?20:37
fullermdunbind and pull --overwrite20:38
LeoNerdExcellent, that got it20:38
LeoNerdrebase, push..done..20:39
Fidelix_bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 15: ordinal not in range(128)22:00
Fidelix_I can't checkout.22:00
DCHi, I have a question about repositories and file permissions on Linux. I have a shared repository that I use with some friends via sftp protocol. On the machine that hosts the repository we have different Linux logins, but we are on the same group. I've created a shared repository (with group write permissions), but when someone pushes a new branch into this shared rep., the branch is created without the right write22:25
DC permissions to the group. Is there any way to manage these permissions automatically with bazaar or each user must always correct the permissions manually after each push?22:25
fullermdNo, branches are just created with umask.  Now, you could try fiddling that; if bzr is the main/only use for those logins, that can be fruitful.22:27
james_wthe setgid bit may help if you need groups to make it work22:27
fullermdThat won't help in perpetuating g+w.22:28
DCI tryed the setgid, but it only guarantees that the group will be created correctly, not with g+w.22:28
DCThese logins are from our student network, not only for bzr. And the machines are not administrated by us. We don't have bzr nor acl.22:30
fullermdIf you have access to root, you could setup a cron job to run through the dirs and make sure branches are g+w with an appropriate regularity.22:31
DCEven if each user fixes the permissions after new22:32
DCeach new push, is there a chance that a new file with the wrong permissions get created during a commit?22:32
DCIf this is the case, one should take care of permissions on each bzr operation and not only after pushes, which kind of sucks. :(22:34
fullermdFiles inside the repository inherit permissions.  Pretty sure all the internal branch files do too.22:40
fullermdIt's creation of branches that doesn't, because in a sense they have nowhere to inherit from.22:40
DCWell, maybe they could respect the permissions from the shared repository (if it is a shared rep).22:41
DCBut it is good to know that at least inside the branch the permissions will be respected. Thanks, fullermd.22:42
fullermdYeah, it would be nice.  Or some path-based config somewhere.22:42
m4n1shjelmer: ping22:44
DCThat would be nice too!22:44
jelmerm4n1sh: hi!22:45
m4n1shjelmer: I am working on zeitgeist-dataprovider22:45
m4n1shand I saw you proposed a merge22:45
m4n1shthis22:45
m4n1shhttps://code.launchpad.net/~jelmer/zeitgeist-dataproviders/bzr-dbus/+merge/5312822:45
m4n1shjelmer: I was about to merge it22:45
m4n1shthen I noticed a small issue22:45
m4n1shjelmer: the original code is copyrighted to Markus Korn22:46
m4n1shbut the code here does not show his name as copyright holder22:46
m4n1shhttp://bazaar.launchpad.net/~bzr/bzr-dbus/trunk/view/head:/hook.py22:46
m4n1shonly as author22:46
m4n1shI am not sure if you and thekorn talked on this22:47
m4n1shjelmer: please leave your comment here. https://code.launchpad.net/~jelmer/zeitgeist-dataproviders/bzr-dbus/+merge/5312822:48
m4n1shI need to sleep22:48
m4n1shGood night22:48
jelmerm4n1sh: the version in bzr-dbus is an older one22:48
m4n1shjelmer: it can be updated22:49
jelmerIIRC I discussed with Markus whether it was ok to merge it into bzr-dbus when I merged the original version22:49
m4n1shhmm22:49
m4n1shI think then he should not worry much22:49
m4n1shAFAIK he has signed the contributer agreement too22:49
m4n1shwill ask markus tomorrow before merging22:50
Fidelix__Jesus... bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 15: ordinal not in range(128)22:57
Fidelix__What is this?22:57
maxbjelmer: Do you understand this python-support / python-central nonsense with bzr-fastimport?23:20
jelmermaxb: yeah23:21
maxbI thought I did, but the daily PPA package of bzr-fastimport doesn't seem to suffer from the issue23:21
jelmermaxb: the daily package uses dh_python223:21
maxbBut only on natty23:21
maxbI'm testing in a lucid chroot23:21
jelmermaxb: have you tried installing/reinstalling bzr and bzr-fastimport in a different order?23:22
maxbI tried a couple of orders23:23
maxbBut yes, I'm now getting suspicious of bzr's random ordering of plugin loading23:23
maxbnope, it's stubbornly not reproducing :-/23:26
maxbHuh, this couldn't be a mad python2.7 incompatibility, could it?23:30
maxbhmm, nope23:31
jelmerdh_python2 / python-support incompatibility?23:32
jelmerthough I think the bzr in natty still uses python-central IIRC?23:33
maxbAh, got it23:35
maxbThe problem is that bzr in natty uses dh_python223:35
maxbWhereas bzr in PPAs for << natty uses python-support23:35
maxbIf bzr core is using python-support, it picks up plugins using python-support OK23:36
maxbPython namespace packages make me sad :-(23:36
jelmerdh_python2 ftw23:37
maxbI think allowing python-central and python-support to both exist was one of the nastier mistakes made in Debian packaging :-/23:39
jelmermaxb: me too23:40
jelmerglad it's finally over, though it's unfortunate we needed a third solution to get there23:40
maxb"over"23:41
maxbha23:41
maxbI'm currently pondering how I might backport python2.6 to etch at work23:41
jelmermaxb: you people and your "stable" releases23:41
jelmermaxb: but yeah, you have a point.. it'll be a problem for a while more unfortunately :-/23:42
maxbIt could be worse23:42
maxbAt least I'm no longer compelled to deploy stuff on Slackware 10.0 servers (mostly)23:42
jelmermaxb: oh, fwiw, I'm also a PPU now23:45
maxbAh, useful23:45

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