/srv/irclogs.ubuntu.com/2011/01/14/#bzr.txt

spivexalt: The problem is "Permission denied (publickey)"00:49
spivexalt: /away00:50
spivoops00:50
exaltspiv, yeah but bzr whoami returns my user00:50
exaltso i am logged in00:50
spivexalt: try "ssh -l YOUR_LAUNCHPAD_USERNAME bazaar.launchpad.net"00:50
spivAnd perhaps add -v for more debugging00:50
spivI think you'll find that those commands also fail with that error00:51
exaltdebug1: Server accepts key: pkalg ssh-rsa blen 27900:54
exaltAgent admitted failure to sign using the key.00:54
exaltspiv, ^00:55
JackyAlcineHello, I'm having an issue with pushing code to a branch.00:57
jelmerhi JackyAlcine00:58
JackyAlcineGive me a moment to compile necessary info to a pastebin00:58
JackyAlcinehttp://pastebin.com/V7RJ74t100:58
JackyAlcineThat's my friend's bin.00:59
JackyAlcineAnd he can't pull code from branch lp:libopenmary-c++00:59
exaltJackyAlcine, hi :)00:59
JackyAlcinelol01:00
JackyAlcinejelmer: exalt's the person in need of assistance.01:00
exaltspiv, it seems the server accepts my key but then fails at it01:02
exaltjelmer, ^01:03
jelmerhi exalt01:05
jelmersorry, was not watching IRC very closely01:05
jelmerexalt: it looks like you don't have the right SSH key up on launchpad01:06
exaltjelmer, ive searched for my error:01:06
exalthttps://bugs.launchpad.net/ubuntu/+source/openssh/+bug/201786https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/20178601:07
exaltseems like min01:07
exaltmine01:07
spivexalt: try running "ssh-add"01:08
spivexalt: and/or try the workarounds in the later comments.01:09
exaltspiv, got it working01:09
exaltthanx all01:09
twbssh-copy-id bazaar.launchpad.net ==> Not allowed to execute 'umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys'.09:51
twbIs there a way to upload additional keys WITHOUT using the web interface?09:51
maxbno, there isn't09:52
twbOK, I'll just use the git mirror for Emacs.  I just realized bzr clone gets OOM-killed anyway.09:53
=== RickCogley_ is now known as RickCogley
=== RickCogley_ is now known as RickCogley
Miika--Hello, does bazaar need to be installed on remote system to push / pull through ssh?10:26
PengMiika--: bzr+ssh: Yes. That's what the "bzr+" means. sftp: No, but performance isn't as good as bzr+ssh.10:27
Miika--I mean, if I have bzr installed on my local, working computer, but I have only remote storage, with no bzr installed. Does push / pull work to that remote location?10:30
PengMiika--: I know that's what you meant.10:31
Miika--Ok, thanks10:34
PengInstalling bzr on the remote server would be ideal since, as I said, sftp's performance is inferior.10:35
=== frakturfreak_ is now known as frakturfreak
Takbesides - is a computer without bzr really a computer? :-P10:37
catphishare revision numbers in bzr always sequential?11:19
catphishby which i mean, if i find a revision called 100, are there definitely 99 ancestors?11:19
PengThere could be more ancestors, of course. The "100" refers only to mainline revisions.11:23
catphishwhat is a revision that's not mainline?11:24
catphishi was working on the (possibly incorrect) assumption that bzr branches were linear like svn11:25
PengBazaar's merging support isn't crap. Revisions can have more than one parent.11:27
catphishwhere are the parents located?11:28
catphishin another branch?11:28
PengWhat do you mean?11:28
catphishi'm struggling to understand the structure11:28
PengThe docs should explain it well enough.11:29
Miika--Does bzr-git support git submodules?11:29
catphishyou say a commit scan have more than one parent11:29
catphish*can11:29
catphishone parent i assume must be the previous tip? but where does the other one point?11:29
Pengcatphish: Right. "bzr merge some_other branch; bzr commit". That revision's parents are the previous tip from this branch + the tip from the branch you merged in.11:29
PengErr, "bzr merge some_other_branch" *11:29
catphishso a parent is either a revision number, or a url and a revision number?11:30
PengNo, revisions have GUIDs. Revision numbers are just a convenient per-branch representation.11:31
catphishooo that's good11:31
PengYou know how git and hg use SHA-1 hashes? Bazaar does something similar, though the format is not restricted, and they're usually just randomly-generated.11:32
Pengcatphish: You can pass --show-ids to "bzr log" and maybe some other commands, though it's not really very interesting.11:32
catphishso it's not possible to follow a parent and find the actual commit?11:34
catphishsince it could be anywhere in a remote repo11:34
catphishor will those parent commits actually get pulled into the branch too?11:35
Peng"bzr merge" pulls the revisions into the local repo.11:37
catphishi ask because i'm making a log viewer11:37
catphishso i'm not totally sure what commits i can show, starting from a given revision11:38
PengObviously lightweight checkouts and stacked branches may not have all revisions locally, but they will be in the remote repo.11:38
PengUnless they're ghosts, in which case the revision really isn't anywhere. But that's not a common situation.11:39
catphishthe repo i'm testing with doesn't appear to have any revisions with multiple parents sadly11:39
PengNobody's merged? Ever? How boring.11:39
catphishah found one :)11:41
Peng:D11:43
catphishthe merged branches seem to be inside the commit message11:43
catphish*merged commits11:43
catphishin the log view11:43
Miika--How I can clone a project with submodules from github using bzr-git? It says about repository formats supporting nested trees11:45
fax8hi guys, I recall that there was a documentation page with suggestion on how to structure a bzr repository..11:45
fax8it seems that I'm not able to find it anymore.. can you guys point me to it?11:46
catphishfax8: structure one? do you mean using "bzr init-repo" to create a repo then create branches inside?11:47
Miika--Or, how I can change default repo format?11:47
Pengcatphish: Yes, that's how "bzr log" displays it.11:48
catphishok :)11:48
fax8catphish: how to structure it in a smart way.. I mean creating folder and subfolders using "trunk" or folders for various stable releases.. stuff like that11:54
=== Ursinha-afk is now known as Ursinha
catphishfax8: not sure, i'm a newbie here12:15
fax8catphish: thanks anyway12:19
fax8goodbye everybody!12:19
janisozaurhello. I have two separate branches (standalone trees, 2a) that share some code, but are not tied to each other via bzr. I've done some changes to branch A, that I'd like to introduce to branch B. how can I do that? preferably keeping commit logs, though it can be done manually, as there are not many revisions13:43
LeoNerdbzr replay   might be able to do it13:44
LeoNerdIn fact I know it can because I've used that before in this very situation13:44
janisozaurLeoNerd, my bzr doesn't know such command13:44
LeoNerdApplying an identical bugfix to unrelated trees13:44
LeoNerdIt's part of the rebase plugin13:45
janisozaurLeoNerd, thanks, will see to that.13:46
janisozauralso, I remember I've used 'bzr patch' once to merge in output of 'bzr diff', but I can no longer see the command. is it from a plugin or was it removed or just my memory doesn't serve me well?13:47
LeoNerdI expect that's what became  bzr replay13:47
janisozaurLeoNerd, ah, thanks a lot then13:47
LeoNerdreplay  reapplies a given patch into the current branch13:47
LeoNerdbzr replay -r 123 /path/to/source/branch13:48
fullermd'bzr patch' is part of bzrtools.  But it doesn't really do anything that regular patch(1) doesn't.13:50
maxbThe rebase plugin is called the rewrite plugin these days14:18
* catphish is sad because bzr diff returns non-zero exit codes on success :(15:55
pooliecatphish, they have meanings15:56
poolielike 'there are uncommitted changes'15:56
catphishi know what they mean15:56
spivjames_w: do you have time to keep working on https://bugs.launchpad.net/udd/+bug/653307 today?15:56
catphishit just happens to be a problem for me that it exits non-zero on success15:56
james_wspiv, should do yeah, but I have something urgent to do this morning15:56
spivjames_w: ok, give me a poke or come say hello later if you want15:57
james_wspiv, I can probably come up after lunch again15:57
spivSounds good15:57
catphishi will need to write a wrapper that exits zero unless the exit code is 315:57
pooliecatphish, in a unix shell?15:59
pooliea quick way to write it is15:59
pooliebzr diff ||:15:59
pooliemaxb, awake, perchance?15:59
maxbhello16:00
catphishpoolie: does that just always return 0?16:01
poolieyes, it means "if this fails run :" and ":" is a builtin that returns 016:02
=== deryck is now known as deryck[lunch]
pooliemaxb, i just spoke to pitti about SRUs16:02
catphishpoolie: unfortunately that's no use to me since i won't actually know if the diff failed16:02
poolieah ok16:02
catphishi need some shell knowledge that returns (code != 3)16:02
catphishsince diff returns 3 on a failure16:03
poolieso i guess you need bzr diff; [ $? -lt 2 ] || print "something's wrong"16:03
catphishyes :)16:03
=== Ursinha is now known as Ursinha-nom
lifelesspoolie: bug 70291416:27
ubot5Launchpad bug 702914 in Launchpad itself "AttributeError OOPS in codebrowse" [Critical,Triaged] https://launchpad.net/bugs/70291416:27
pooliereally, interesting16:28
=== beuno is now known as beuno-lunch
poolielifeless, to avoid roundtrips, feel free to triage/assign etc16:30
lifelesspoolie: I'm guessing another thread safety issue, seems fairly low frequency atm16:31
pooliek16:31
lifelessmay be loggerhead, may be bzr itself16:31
lifelessI'm not sure if I should open a loggerhead task or not16:31
=== deryck[lunch] is now known as deryck
=== beuno-lunch is now known as beuno
=== Ursinha-nom is now known as Ursinha
lifelessjelmer: are you updating loom packages too?18:47
jelmerlifeless: in the past Andrew has done the loom packages (I try to avoid packaging software I don't use for various reasons)18:50
jelmerlifeless: being on the bzr team and with their importance for UDD I should probably start using them now though18:51
jelmerlifeless: I'll have a look at updating the packages.18:51
jelmerlifeless: thanks for the reminder18:51
jelmerlifeless: did you see my reply (4 lines) ?18:54
jelmerargh19:05
lifelessjelmer: no19:07
agrumanhow much size does bzr take for each file (unmodified)? (does it save a copy of the file in .bzr?)20:37
PengThat's a bit complicated. Bazaar compresses everything.20:40
PengRepositories store every revision of every file, but they're compressed six ways to Sunday.20:41
agrumanPeng, ok, but if i have a single revision will it only take 1x the file size? (im not used to dvcs, been using clearcase and there the files are 1x and read only until checked out and modified)20:46
lifelessif you have a single revision the overhead will be <= gzip(file content)20:47
lifelesstwo revisions it will be gzip(file content + binary delta to second revision)20:48
agrumanlifeless, ok, but the file would be present in its uncompressed form as well? resulting in 'file + gzip(file)'?20:50
spivagruman: no20:51
spivagruman: we don't store uncompressed file contents in the repository20:52
PengObviously the working copy is uncompressed, of course.20:53
agrumanspiv, ok, then im not sure i understand. How would i read the file, would i need to decompress it?20:53
agrumanPeng, k20:53
lifelessbut the working copy isn't overheaad ;)20:53
agrumanperhaps, depends on how you see it20:54
agrumani myself find it overhead20:54
agrumani would have wanted the size to be "repo + checked out files"20:55
agrumanor is the working copy "optional"? i suppose not, but as i said this is new to me20:57
lifelessagruman: thats right20:59
lifelessits optional20:59
Pengagruman: Yes, you can remove the working copy.20:59
lifelesson a server you want just repo20:59
PengOr not create one in the first place.20:59
lifelesson a laptop you want repo + working copy so that you can work offline, edit files, do log etc20:59
Pengagruman: The size is "repo + checked out files". You were asking about the specifics of "repo". And "checked out files" can be zero.20:59
agrumanthanks alot for the explanation :)21:00
agrumanwould it be possible to only have a working copy and not the repo on a laptop (for file that dont change ex binary)21:01
spivIt is, "bzr checkout --lightweight".  There's a pretty large performance hit if the repo for that is on a network.21:02
agrumanspiv, ok, thanks alot for the info21:04
pooliemaxb, still here?21:15
pooliei spoke to pitti about our SRUs and MRE21:15
pooliehe said we should just upload for -proposed, or ask for sponsorship into that21:15
=== Meths_ is now known as Meths
=== gnomefreak76 is now known as gnomefreak
jmljelmer: <exarkun> spiv: Can we be sure that those rev props don't get onto trunk?22:26
=== Ursinha is now known as Ursinha-afk
jelmerjml: I think I miss context.22:40
spivjelmer: short version: svn users are allergic to revprops22:41
spivjelmer: because they fear breakage in commit hooks, commit mail scripts, trac, etc22:42
jmland I never use bzr-svn to do Twisted stuff22:42
jmlbecause I'm afraid of exarkun getting angry at me22:42
jelmerare you sure you mean revprpos, not file properties?22:42
spivAnything that looks weird and unusual, basically :/22:42
spivIn this case there's a degree of discomfort about having props of any flavour in a branch22:43
jelmerCan you give a bit more context in that case - be sure that those revprops don't get onto trunk when doing what?22:43
spivAnd deep fear about having them reach official branches like trunk22:43
spivIn this case landing my bugfix branch on trunk22:44
jelmermwhudson: ooh, shiny linaro hostmask!22:45
jelmerspiv: so, "svn merge" will ignore revision properties22:45
jelmerspiv: is that what you're asking?22:45
spivjelmer: I'm not asking anything, really (although thanks for confirming that for me)22:46
spivjelmer: I think jml was just sharing some pain22:47
jelmerah22:47
spivjelmer: "svn merge" was my plan for landing this change22:47
spivjelmer: as soon as I figure out the right invocation, because it doesn't just DTRT :)22:47
jelmerso I can feel the pain when it comes to file properties (and will require user confirmation before bzr-svn sets them in newer versions)22:47
jelmerrevision properties shouldn't break anything other than bzr-svn if they're incorrect,22:49
jelmerand are only visible in a limited number of situations22:49
mgedminso, I look in my process list and I see that bzr-notify has 7 zombie children (all ssh processes)22:57
mgedminany clues?22:57
jamvila!22:59
jamvila!22:59
jelmermgedmin: wow, that's interesting. As far as I know bzr-notify should never do remote access..23:00
* awilkins would just turn off or filter revprop reporting on Trac or whatever23:04
awilkinsI agree that it looks a mess from the POV of a "pretty" changeset browser23:04
spivjelmer: AIUI the issue isn't that they break SVN, but that random tools people build on their SVN repo are fragile23:06
spivjelmer: because they have never been tested with rev props23:06
spivjelmer: in other news23:07
spivjelmer: "the right invocation" turned out to be "bzr merge URL" in my SVN checkout, because apparently I've forgotten too much svn to know how to make it be sensible23:07
awilkinsI could never get SVN to be sensible about merges23:08
awilkinsI had a crack recently because I had to give training on SVN to my peers and was able to break it's merging ability with the first test I did (although it is *slightly* less rubbish than I remember it)23:09
awilkins'tis a shame that CollabNet are so stuck on SVN having sunk so much into it ; 'tis still the only VCS they offer on their hosting services AFAIK (and guess which hosting service we signed up for ....)23:10
awilkinsHappily I have a shell account and root on some of the build machines so I used it to make a Bazaar mirror of the sources and I don't have to use SVN anymore except on special occasions. Hooray.23:11

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