"Thomas Moschny" <[EMAIL PROTECTED]> writes:

> is there a way to push/pull/sync from the xmtn-status buffer?

I always use the command line to perform 'mtn sync', and I almost
never do 'mtn push' or 'mtn pull'.

I use the command line because I want to watch the ticker, and because
I use shell scripts to specify the proper remote host, ssh connection,
cygwin vs mingw32, etc.

So I have not tried to support these operations in the DVC code.

I guess the ticker could show nicely in the dvc-process buffer; I
haven't actually tried that.

> (It uses the xmtn-diff mode (why?), 

That's another discussion; I've argued for a separate 'dvc-status'
mode elsewhere.

> and I couldn't find a hint on its help page about that).

The help definitely needs work. Please submit patches.

> On a second look, dvc-pull and dvc-push seem to be the functions I
> want to use, 

Right.

> but the latter doesn't seem to do anything at all.

This should run 'mtn pull'. That will pull from the default remote
repository set in the database. So you have to run 'mtn pull' from the
command line once first to set the default.

Hmm. The 'other' parameter can be used to specify the remote
repository. But there's no way specify that parameter from the DVC
status buffer. 

What, _exactly_, do you want 'dvc-pull' to do? That's part of the
reason I have not worked on this; there are many options for
push/pull/sync, and it's not clear to me how to specify them via DVC.

Performing these operations via the bookmarks buffer, with its notion
of 'partner url', might make more sense. In fact, 'dvc-bookmarks-pull'
(bound to "Mf") does pass the partner as the 'other' parameter to
dvc-pull, so it may do what you want.

This all needs to be in a user guide.


On a slightly related topic, I've finally restored my work website, so
my 'intro to DVC in Emacs' is available again. The URL has changed;
it's now at:

http://gds.gsfc.nasa.gov/dvc-intro.html

This does not cover DVC bookmarks; too advanced for my team at work
:).

-- 
-- Stephe

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to