monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] automate sync display branches?


From: Stephen Leake
Subject: Re: [Monotone-devel] automate sync display branches?
Date: Sat, 11 Sep 2010 12:09:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

Stephen Leake <address@hidden> writes:

> Thomas Keller <address@hidden> writes:
>
>> Am 10.09.10 16:20, schrieb Stephen Leake:
>>> Stephen Leake <address@hidden> writes:
>>> 
>>>>  ... I'm trying to enhance Emacs
>>>> DVC to support a nice sync interface; it will display which workspaces
>>>> need updating after a sync.
>>>>
>>>> ... Better would be to not use rcfiles for this purpose, which means adding
>>>> C++ code to 'automate sync' to output the branch names, enabled by an
>>>> option --output-branch-names.
>>> 
>>> I also need an option to specify the remote host command for file: and
>>> ssh: methods; I was doing that via a special version of the
>>> get_mtn_command hook.
>>
> Hmm. I could have DVC specify a set of hooks that are loaded for all
> automate stdio sessions, not just for sync commands. That should work.

But it doesn't. Using "io.stdio:write(...)" from a Lua hook does _not_
send the data to the stdio main stream. Which I knew, but forgot
temporarily.

So I need to write some C++. I'll use the nvm.stephe branch.

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]