help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to keep .emacs files in synch


From: Andrew Walrond
Subject: Re: how to keep .emacs files in synch
Date: Thu, 04 Oct 2007 13:14:12 +0100
User-agent: Icedove 1.5.0.12 (X11/20070731)

weber wrote:
> 
> In my head a distributed versioning system like darcs would be nice
> for keeping my emacs updated between pcs, so i could send patches to
> myself via email...
> But after trying it I found out that it also needs a central
> repository for comparing what has changed. (I thought you could just
> say "everything that changed since yesterday"
> 

Hmm not entirely sure what you mean. But with Mercurial (good
distributed SCM), you could share your .config files with something like
this:

        cd ~
        hg init
        hg add .emacs .emacs/* .screenrc
        hg commit

Whenever you make changes, just do

        hg commit

Then on any other server, something like

        cd ~
        hg init
        hg pull ssh://me@fqdn_of_server_one/~/

would get the files. Subsequent changes could be retrieved with a simple

        hg pull -u

or 'pushed' to another server with

        hg push ssh://me@fqdn_of_server/~/

Doesn't get much simpler than that :)

Andrew Walrond





reply via email to

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