>>>>> "stefan" == Stefan Reichör <[EMAIL PROTECTED]> writes:
stefan> Hi Vincent!
stefan> It took a bit longer to get the needed infrastructure in place.
What should I say ? I was even longer to reply. Better be slow
that not moving ?
stefan> Now I need your help to implement features you'd like to see.
stefan> * The next thing is support to apply such a bundle
stefan> - either via merge
>>
>> In that case the needed command is:
>> cd <branch>
>> bzr merge <bundle>
>>
stefan> - or as a standalone branch in a specific location
>>
>> Either by:
>>
>> bzr init <branch> ; cd <branch> ; bzr pull <bundle>
>>
>> to create the branch or, if it exists:
>>
>> cd <branch> ; bzr pull --overwrite <bundle>
stefan> K t a needs to detect, how the patch in a given article should be
stefan> handled. dvc-gnus-article-apply-patch already knows some common mail
stefan> formats.
stefan> Today I have added the new configuration variable
stefan> dvc-gnus-article-apply-patch-deciders. It is a list of functions
that
stefan> can analyze a mail message and return the detected patch type if
any.
stefan> e.g.:
stefan> (setq dvc-gnus-article-apply-patch-deciders
'(dvc-article-check-for-pull-bundle-in-branch))
stefan> (defun dvc-article-check-for-pull-bundle-in-branch ()
stefan> (message "checking...")
stefan> 'bzr-pull-bundle-in-branch)
stefan> Can you send me such a mail, that allows me to write a decider
function
stefan> and to implement the bzr-pull-bundle-in-branch functionality.
Does this mail help ?
>>> From there, I'd hope to be able to do some "Monkey see, monkey
>> do" :D
>>
>> Vincent
>>
>> Off-topic: If dvc-diff could accept arguments when prefixed (C-u)
>> I'd be so delighted :) While I use 'dvc-diff' quite heavily, I
>> resort to:
>>
>> M-x shell-command-on-region <RET> bzr diff -rsubmit: <RET> M-x diff-mode
>>
>> far too often and this is really the most missed command in DVC
>> for my workflow.
stefan> The following function should work now:
stefan> (defun bzr-diff-against-submit ()
stefan> (interactive)
stefan> (bzr-dvc-diff '(bzr (tag "submit:"))))
Which didn't work until I apply the attached patch (crude,
certainly not related to our discussion, just useful as an
example :).
Vincent
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: [EMAIL PROTECTED]
# target_branch: http://bzr.xsteve.at/dvc/
# testament_sha1: 27670a7eca6318bf9be160ff3e489349fe99d514
# timestamp: 2008-10-09 15:28:22 +0200
# base_revision_id: [EMAIL PROTECTED]
#
# Begin patch
# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWYUFw0YAABHfgAAQQGFzUBIA
AACv794QIABkRR6nqaep6gZPUA9IxCjJqaBo09JpgjIMQ3m0vN/kfmJsLk0MHQ1W4qiRcX7dBKNJ
lorThQidj3YxTykvD4J5hd1FQti/6hzQ9gCghgPfGQ8nyFtaDiAA5JCZ68iW34u5IpwoSEKC4aMA
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev