all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fabian Ezequiel Gallina <galli.87@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: git push/pull
Date: Sun, 6 Dec 2009 00:12:53 -0300	[thread overview]
Message-ID: <9de1a5ef0912051912u740e682bofc7fd627c44b9aea@mail.gmail.com> (raw)
In-Reply-To: <jwvr5r9pfef.fsf-monnier+emacs@gnu.org>

2009/12/5 Stefan Monnier <monnier@iro.umontreal.ca>:
>> I love vc, the thing is I always wanted the hability to do git
>> push/pull from vc directly. So today I decided to implement it.
>
> That's great, thank you.
>
>> Below is the code, I sure there is a lot of room for improvement since
>> I consider an Emacs LISP newbie myself, but I guess is a good starting
>> point for a better implementation.
>
> I'll let git users decide whether they like your specific choices, but
> what I'd want on my side is to add support for it directly in vc.el
> (i.e. have `vc-push' and `vc-pull' commands which then delegate the
> core of the work to the backends.  You don't have to implement any
> other backend than Git).
>

I understand, while looking at the code of vc.el I found "deal with
push/pull operations" inside the TODO. I just added vc-git-pull and
vc-git-push based on the fact I saw vc-hg-pull and vc-hg-push already
implemented in vc-hg.el.

I'll study a little how vc works and see if I can implement a generic
vc-pull/push if nobody else can work on it.



Best Regards,
-- 
Fabián E. Gallina
http://www.from-the-cloud.com




  reply	other threads:[~2009-12-06  3:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-05  8:09 git push/pull [was: support for bzr shelve/unshelve in vc-dir] Fabian Ezequiel Gallina
2009-12-05  9:07 ` Andreas Schwab
2009-12-05 16:15 ` git push/pull Stefan Monnier
2009-12-06  3:12   ` Fabian Ezequiel Gallina [this message]
2009-12-06 19:21   ` Fabian Ezequiel Gallina
2009-12-06 20:33     ` Andreas Schwab
2009-12-06 21:13       ` Fabian Ezequiel Gallina
2009-12-06 22:45         ` Andreas Schwab
2009-12-08  4:50     ` Stefan Monnier
2009-12-09 17:19       ` Fabian Ezequiel Gallina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9de1a5ef0912051912u740e682bofc7fd627c44b9aea@mail.gmail.com \
    --to=galli.87@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.