unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Glenn Morris <rgm@gnu.org>,
	Emacs developers <emacs-devel@gnu.org>,
	Juanma Barranquero <lektu@terra.es>, Miles Bader <miles@gnu.org>
Subject: Re: org changes lost
Date: Mon, 24 Nov 2008 21:50:02 -0500	[thread overview]
Message-ID: <jwvmyfo7cm5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <9EC5D47F-0BFB-4188-B955-FDF018289DA6@gmail.com> (Carsten Dominik's message of "Mon, 24 Nov 2008 13:31:12 +0100")

> My skills in version control my not be sufficient to do this, jumping
> between different version control worlds.

You just need to reflect the branch of one into a branch of the other
(one-way only), so it's not that difficult.  E.g. you can commit (via
naive overwrite&commit) your externally-maintaned code into a special
branch in the CVS, and then use cvs to merge the changes from that
branch into the trunk.

Or you can do it the other way around and take a copy of Emacs's trunk
every once in a while, commit it onto a special branch in your main
VCS (e.g. Bzr or Git), and then merge that branch into your main branch.

The safer thing to do (when working between VCS or without VCS) is to
never copy files, but only ever take diffs and apply them.  It's not
like taking diffs is safer but it forces you to think "diff between what
and what", so it makes it more likely that you'll do the right thing.

> So I work by applying changed in Emacs to my local copy and reserve the
> right to undo changes made in Emacs (not that this has been necessary
> recently).  Usually this works OK, occasionally, like yesterday,
> I miss something.

To avoid this, try to do a "diff since last sync" and apply that to
Emacs's repository.  This may result in conflicts, but only if there are
concurrent changes that you need to pay attention to.

> For me the biggest improvement would be to get an email copy
> of all changes to files where I am the maintainer, not buried
> in the general commits digest (where I do overlook things),
> but a personalized one. I am sure that such emails could be
> generated automatically, but I don't know how.

That would be good indeed.  Maybe someone could setup such a service:
register to emacs-diffs, and then use a table that maps file names to
maintainers's email addresses to figure out to whom to send the email.
The table can be rebuilt daily by looking at the Elisp files's
"Maintainer:" or "Author:" line and the admin/MAINTAINERS (which is
a bit out-of-date, AFAIK).  This data tends to be out-of-date, tho, so
while this doesn't mean it's a bad idea, it means your email filter
should be careful to handle such things gracefully (whatever that
means, my guess is that it'll just work without having to do anything
special, other than add a little blurb to the email to explain how to
"unsubscribe").


        Stefan







  parent reply	other threads:[~2008-11-25  2:50 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-23 23:53 org changes lost Glenn Morris
2008-11-24  2:36 ` Glenn Morris
2008-11-24  3:56   ` Miles Bader
2008-11-24 12:31     ` Carsten Dominik
2008-11-24 16:32       ` Chong Yidong
2008-11-25  9:30         ` Carsten Dominik
2008-11-24 17:29       ` Glenn Morris
2008-11-24 19:31         ` Bastien
2008-11-24 18:23       ` Reiner Steib
2008-11-25  9:24         ` Bastien
2008-11-25 17:44           ` Reiner Steib
2008-11-25  9:31         ` Carsten Dominik
2008-11-25  2:50       ` Stefan Monnier [this message]
2008-11-25  3:10         ` Chong Yidong
2008-11-25 15:11           ` Stefan Monnier
2008-11-25  9:01         ` Yavor Doganov
2008-11-25 15:14           ` Stefan Monnier
2008-11-25  9:03         ` Bastien
2008-11-25  9:33           ` Carsten Dominik
2008-11-25 15:19           ` Stefan Monnier
2008-11-25 17:11             ` Bastien
2008-11-25  9:38         ` Carsten Dominik
2008-11-26  3:20           ` Michael Olson
2008-11-24 11:06 ` Carsten Dominik

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvmyfo7cm5.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=lektu@terra.es \
    --cc=miles@gnu.org \
    --cc=rgm@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).