/srv/irclogs.ubuntu.com/2009/06/27/#bzr.txt

* SamB wishes bzr-gtk packages could depend on bzr in a way that reflected the API version they require from it00:01
SamB... I think they could do a bit better than "bzr (>= 1.12~)", though00:02
Peng_beuno: Upgrading your branches of Loggerhead to 2a, or just other stuff?00:05
glyphjml: erm00:09
glyphjml: I think maybe there's a problem with the latest release00:09
glyphhttp://codepad.org/lxIt1U1g00:09
glyphoh00:09
glyphwhoops, is this exactly what SamB is talking about?00:09
SamBglyph: say ... what ?00:10
* SamB looks00:10
SamBglyph: oh, not exactly00:11
SamBI did get that one a few days back though, I think00:11
SamBso I guess it's probably just that my bzr knows it doesn't provide that version of the API and yours doesn't know?00:12
* SamB wonders why python-dulwich wants to reinstall Python 2.4 for him :-(00:13
rellis__Is there a convenient way to have bzr execute an arbitrary shell command after a commit to a given project/branch?00:17
SamBrellis__: there's some shell-hook plugin00:20
SamBsee the plugins page on the wiki00:21
SamBshould be listed there00:21
rellis__nice00:21
rellis__thanks much sir00:21
SamByou're welcome00:22
SamBI don't have a clue why that's not integrated with bzr ...00:22
Peng_Propose it for merging in bzr 2.0! :D00:24
rellis__So bzr plugins i.e. shell-hooks run on developer machines not my bzr server right?00:24
rellis__i should say they run wherever the bzr command itseld is executed00:25
SamBrellis__: well, unless you install the plugin on the server and the plugin provides hooks of a kind that would get run as part of the smart-commit process00:25
rellis__hmmm00:26
rellis__im trying to integrat hudson with bzr00:26
rellis__and the hudson bazaar plugin doesnt work with hudson slaves00:27
SamBhmm ?00:27
rellis__so i need a different mechanism to launch builds after commit00:27
* SamB wishes jelmer were about so he could complain about this python2.4 dependancy on the python-dulwich package00:30
resolvehi folks. i'm new to bzr, and I just pushed a branch to lp, commited a change, and pushed again, and I end up with a "stacking branch"00:30
resolvewhich appears as a separate entry in launchpad. I just wanted to push my latest changes. is push the wrong command?00:30
* SamB remembers he can file debbugs even if he knows where the maintainer hangs out on IRC ...00:30
SamBresolve: did you push to a different name the second time ?00:31
resolveah. what happened is my first push was to name x, but I made a typo so deleted and specified name y00:31
resolvei thought it would remember name y but it remembers name x00:32
SamBresolve: bzr push --remember y00:32
resolvethanks. all good now.00:34
beunolifeless, Peng_, other stuff. Branches from the office00:37
beunoall cleared by jam now00:38
Peng_I kind of want to upgrade my Loggerhead repo to 2a, just for "fun", but I can't since I have a corrupt revision. :D00:39
beunoI think we should upgrade to 2a00:45
beunoit should be easy since we're in rich-root already00:45
Peng_LH itself is still compatible with bzr 1.13. The 2a format isn't. :D00:50
Peng_Eh. I'm just reluctant to upgrade because I'd have to move to a new repo.00:51
lifelessbeuno: you should be able to locally00:52
lifelessbeuno: just init a new 2a repo and branch in any lh branches you want00:55
bignoseI'm attempting to migrate a CVS repository to Bazaar00:55
bignose(a particular branch in that repository, anyway)00:55
bignoseI've used cvs2git (from the cvs2svn project) to create two separate files00:56
bignosea dump file and a blob file00:56
bignosewhat do I need to use to import those into a Bazaar branch?00:57
lifelessbzr-fast-import00:57
lifelessthought IIRC it wants inline format00:57
bignose‘bzr fast-import foo.fi-blob’ succeeds but says there are no revisions00:57
bignose‘bzr fast-import foo.fi-dump’ crashes with a traceback00:58
bignoseneither of them seems to create any branch00:58
beunolifeless, right. Maybe I should just do that.00:58
beunonow, if only bzr moved to 2a as well00:58
beunoI could have a shared repo again in the bzr-devel dir  :)00:58
wgrantHow's the Launchpad 2a trial going?00:59
bignoseah! on the cvs2git web page it suggests the two can simply be catted together and fed to git as a stream. should that work too for bzr fast-import ?00:59
beunowgrant, much better than expected, although there are some stacking bugs that still need ironing out01:00
beunoit's amazing how much faster it is01:00
lifelessbignose: I guess :)01:00
bignosecat foo.fi-{blob,dump} | bzr fast-import -01:01
bignosethat worked fine01:01
wgrantbeuno: I guess you have many tens of thousands of revisions?01:02
bignosemaybe someone could look at <URL:http://cvs2svn.tigris.org/cvs2git.html> and update <URL:http://bazaar-vcs.org/BzrFastImport> to connect the two01:02
bignose(someone with an accounton the wiki, that is.)01:02
beunowgrant, I think it's around 60k01:07
bignosethe help for merge says:01:12
bignose  By default, bzr will try to merge in all new work from the other01:12
bignose  branch, automatically determining an appropriate base.  If this01:12
bignose  fails, you may need to give an explicit base.01:12
bignosebut doesn't say how to "give an explicit base"01:13
bignoseany clues?01:13
james_w-r01:19
james_w"-r 7" will merge in just up to revision 7, "-r 7.." will use 7 as a base, "-r 4..7" will cherry-pick01:20
bignoseokay. and those revision numbers are for the other branch, yes?01:21
james_wcorrect01:21
bignosehmm. okay, it seems I need to hack a bit.01:23
bignoseI originally grabbed a source tarball, imported those files into a new branch, and committed revision data from that point on01:23
bignosesubsequently, I have gained access to the upstream CVS repository, and have imported that history to a different branch.01:24
bignosebut of course as far as Bazaar is concerned, the two branches share no ancestor.01:24
bignosehow can I best tell Bazaar that the head of the CVS-imported branch represents the origin of the from-scratch Bazaar branch?01:24
bignoseso the history is intact and consistent01:25
bignosejames_w: thanks for the assistance02:00
bignoseprobably what I want to do (convince Bazaar that one file imported separately in two different histories are actually the same file) can't be done02:01
lifelesswhat you need is a form of history editing02:02
lifelessthe fast-import could in principle be done to match the file identities of your tarball branch02:03
lifelesstwo ways to do that: have an option to fast import 'get-ids-from-<branch>'02:03
lifeless-or-02:03
lifelessdo a transform on the result of the fast-import branch02:04
bignoseinteresting02:04
lifelessa longer term solution is for us to support file copies02:04
bignosewell, I encounter this use case not infrequently, so I suspect others would as well02:04
lifelessbecause the symmetry there gives file joins as well, and then you can just tell bzr after the fact 'oh, this became that'02:04
bignoseyes.02:05
bignosethat's exactly the place my mind was at after merging with a specified base02:05
lifelessyah. its important to me02:05
lifelessbut not top of the stack yet, sadly.02:05
bignoseall the files got moved out of the way, and I wanted to say "no, each one of these became one of those"02:05
bignoseokay, that's good enough for me02:06
bignosethanks for the insight into upcoming features :-)02:06
pooliehello all02:07
* bignose checks the weather in Sydney02:07
poolieare you in sydney bignose?02:07
poolieit's kind of grey02:07
bignoseMelbourne02:07
bignoseyou two (poolie and lifeless) visited my workplace a while back02:08
bignoseCybersource02:08
bignosenow home to a raving mob of Darcs pushers :-/02:08
dashman, darcs.02:09
bignoseman: No manual page for darcs.02:09
dashyes exactly02:09
bignosespeaking of which, does anyone have any good *canonical* references for02:10
pooliejam, i'm trying to work out kerguelen for you02:11
bignosespeaking of which, does anyone have any good canonical references for manpage *roff markup?02:11
pooliei can't recall where it is but there's some documentation in the man library for groff/troff02:12
poolieman 5 something02:12
bignosebut is that specific to Linux only? I'm curresponding with someone who wants to know more Unix-wide conventional practice.02:13
pooliewell, the location of the manual is gnu-specific02:14
pooliei think the syntax is fairly standard02:14
pooliejam, kerguelen works for me02:22
lifelesspoolie: look at the calendar :)02:28
lifelessin other news, why does evolution hate me02:28
poolielifeless: give me another clue?02:29
poolieare you saying it's too late for john? i'm not counting on him talking back :)02:30
lifelesspoolie: no, just that its saturday:)02:30
lifelesssunshine; people; loife!02:31
lifelessor liff02:31
lifelessmy laptop fan has died02:31
lifeless:(02:31
lifelesspoolie: I'm trying to encourage you to stop working, to shore up my failing willpower to also stop workingish02:32
poolieah ok02:32
pooliejust trying to keep him unblocked02:32
pooliethough, since it's now friday night it's moot02:32
cyberixaeWhat does --fixes do?03:09
Peng_cyberixae: Adds a little meta data saying "this revision fixes bug X".03:12
cyberixaeHow can I see that metadata?03:13
cyberixaeI mean I'd like to verify that it succeeded03:13
Peng_cyberixae: Well, you could use "bzr cat-revision". Recent (trunk) versions of Loggerhead also show 'em.03:14
cyberixaethanks03:23
jampoolie: kerguelen worked ok, I got the packages built04:29
jamIt just took a while04:29
jamdidn't work in the morning04:29
jamworked by the afternoon04:29
bignoseI'm vaguely aware of discussion about tags not surviving some operations04:35
bignosewhat's the status of that?04:35
bignoseand what should I read to know which operations do or don't preserve tags?04:35
SamBbignose: apparently, patch queue managers tend to eat them04:44
Peng_bignose: It's not like they get eaten; PQM just doesn't/didn't propagate them to the target branch.04:46
bignoseso if I branch, or checkout, or merge; do the tags come across with the revision data from the other branch?04:51
bignose(obviously checkout, forget that one)04:51
Peng_bignose: Yes.05:03
bignosethanks.05:05
bignoseaccording to ‘bzr tag --help’:05:05
bignose  Tags are stored in the branch.  Tags are copied from one branch to another05:05
bignose  along when you branch, push, pull or merge.05:05
Peng_bignose: There isn't some huge tag problem. It was one bug in PQM that (according to someone in that thread) was fixed.05:05
bignosegood enough for me.05:05
bignosePeng_: okay, that puts it in context.05:05
bignosethanks again.05:05
Peng_bignose: The discussion was also about how PQM makes tagging difficult. You can only tag a revision after it's created. In PQM's case, you usually want to tag the revision created by PQM. If you don't have direct write access to the branch, this means you have to put the tag in some other branch that PQM merges in the future. Kind of a pain, no?05:08
Peng_Hmm, pqm-submit could tag some --tag argument.05:08
=== bob2_ is now known as bob2
=== bob2 is now known as Guest90262
=== Guest90262 is now known as bob2
=== zarq- is now known as zarq
AfCAny of the bzr viz hackers here?10:12
=== vxnick-AFK is now known as vxnick
abosamoorHi, do you know website that offer hosting for code with bzr for proprietary code ?12:26
lifelessabosamoor: launchpad can do that13:19
abosamoorlifeless: your code must be an open source to host it on lp, is not it ?13:19
lifelessfor free hosting, yes13:20
abosamoorlifeless: I want free hosting using bzr for closed source project13:22
=== Guest57883 is now known as Xavura
=== abeaumont_ is now known as abeaumont
* garyvdm is at a package jam updating qbzr in karmic!15:22
LarstiQjam: I don't know about rebase, but for bzr-svn and subvertpy 0.6.2 and 0.6.8 afaik15:27
mathrickhiya15:31
mathrickis it possible to ignore a versioned file?15:32
mathrickie. there's an editor's project file, and while it's useful to keep its contents, it's completely boring for the purpose of bzr diff15:32
ddaaAFAIK, it's not possible.15:36
ddaaYou can approximate it with a plugin.15:36
ddaaIf15:37
mathrickaha, is there one that already provides that?15:37
ddaaI guess, if you go as far as writing your own custom branch format, you might even get transparent support in third party tools, such as "bzr vis".15:37
ddaamathrick: not as far as I know.15:37
mathrickhmm, that's kinda extreme though15:37
mathrickok15:37
ddaaThe alternative is to make it a simple add-on, but then you need to modify bzr vis etc. to support it.15:38
mathrickright, but just making diff shut up is enough to cover the 90% case15:38
ddaaThat should be a pretty straightforward plugin. Maybe a hundred lines of code.15:39
ddaa(upper bound)15:39
mathrickyah, I expect it to be simple to do15:40
mathrickand a different question, albeit plugin-related15:41
mathrickwho wants to help me implementing git's rebase --interactive functionality (ie. retroactive history shaping)?15:41
mathrickI'm not exactly sure where to begine15:42
mathrick*begin15:42
LarstiQmathrick: I'm happy to us the template solution for that usecase15:49
mathrickwhat template solution?15:49
LarstiQmathrick: versio foo.template, for local use copy foo.template to foo, and ignore foo15:53
mathrickbut it's useful to keep the changes that happen to the file15:54
mathrickit's just not interesting to see that in diff by default15:54
LarstiQright, but to me this is a good way of handling it with what's there15:55
LarstiQmathrick: alternative is to symlink it to something else15:55
LarstiQmathrick: and then version it in a different branch15:55
mathrickthat loses the connection between changes then15:56
mathrickthe template is good when you have files that rarely change and are edited by hand mostly15:56
mathricknot so much for automatically generated and managed foo15:56
* LarstiQ nods15:59
=== Kissaki^0ff is now known as Kissaki
=== vxnick_ is now known as vxnick
=== vxnick is now known as vxnick-AFK
flvr8hi...both loggerhead and trac-bzr fail on the same repository (which we migrated from svn). however, the repository branches check out just fine. the error that both loggerhead and trac-bzr give is KeyError: ...18:57
flvr8is there a way to fix that in the branch?18:57
LarstiQflvr8: you could try `bzr reconcile` (as rather general advice)19:28
flvr8heh, yeah that crapped out with a KeyError too19:53
flvr8i'm trying an svn -> git -> bzr run on the module. that fixed my problems with one of the others19:54
cyberixaeBtw21:07
cyberixaemy actual use case21:09
cyberixaeI needed to find out whether some one already did --fixes21:10
cyberixaein the end I had to ask him21:10
luksyou could have used bzr qlog21:11
cyberixaegløg?21:11
cyberixaebzr: ERROR: unknown command "glog"21:12
lukswell, I said qlog, not glog21:12
luksbut you would need to have qbzr installed21:12
cyberixaeoh21:12
luksit has an option to search by bug number21:13
cyberixaeah21:13
cyberixaethanks21:13
cyberixaedoesn't seem to have that feature21:16
cyberixaemaybe Ubuntu has an old version21:16
thewrathwats going on with this bzr stats plugin21:49
jelmerthewrath: what about it?21:54
thewrathtrying to get this done for bzr21:56
thewrathhttp://www.statsvn.org/21:56
thewrathi have bzr here at work we have svn21:57
thewrath?22:01
thewrathjelmer: you still around22:56
thewrathi have a questiona bout creating my own bzr server22:56
flvr8yep, svn -> git -> bzr fixed my KeyError problem23:56
flvr8it seems to be a safer migration path23:56

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