all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Cc: emacs-devel@gnu.org
Subject: [arch-users] Re: cvs <-> arch mirroring scripts
Date: 14 Aug 2003 18:35:07 +0900	[thread overview]
Message-ID: <buo3cg4inuc.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <1060803518.28891.27.camel@columbia>

BTW, I checked in my first two changesets from arch->CVS for emacs today:

I just did `tla update' in my, then generated a CVS log message from the
arch log, e.g.:

   tla cat-log miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-14 | sed -n '/^Standard-date:/d;/^Date:/d;/^[^:]*:.*[^ ]/p;/^$/,$p' > /tmp/,l

Then committed the whole tree:

   cvs commit -F/tmp/,l

This generates CVS log entries like this:

   ----------------------------
   revision 1.43
   date: 2003/08/14 09:05:44;  author: miles;  state: Exp;  lines: +2 -2
   Revision: emacs--cvs-trunk--0--patch-14
   Archive: miles@gnu.org--gnu-2003
   Creator: Miles Bader <miles@gnu.org>
   Summary: Avoid .arch-ids dirs when making autoloads
   Modified-files: ./lisp/Makefile.in
   New-patches: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-14

   Avoid .arch-ids dirs when making autoloads
   ----------------------------

Which I think is nice, and gives you some useful info about which arch
changeset the change came from.

Note that the arch-changeset's author is included in the message, which
helps ameliorate the `single CVS checkin point' a bit.

I'm gonna try to make a script to do some of this, though at first it
will probably just abort if detects any hard things (like renames or
conflicts) and let the invoker deal with them.

The one case that I'm bit concerned about is the old standard --
ChangeLog files.  In the above changesets I actually forgot to update
the ChangeLog, so it wasn't an issue :-), but in general, I suppose it's
going to be necessary to resolve `trivial' ChangeLog conflicts
automatically.  Luckily, I think this is fairly easy -- just look for a
ChangeLog.rej file that contains only add-lines-at-the-beginning, and
translate it into text to prepend to the ChangeLog -- but I know people
have rejected such automated merging of ChangeLogs for CVS in the past;
anyone know more details?

-Miles
-- 
Saa, shall we dance?  (from a dance-class advertisement)

       reply	other threads:[~2003-08-14  9:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1060744673.2522.27.camel@columbia>
     [not found] ` <buo65l2facg.fsf@mcspd15.ucom.lsi.nec.co.jp>
     [not found]   ` <1060803518.28891.27.camel@columbia>
2003-08-14  9:35     ` Miles Bader [this message]
2003-08-14  9:46       ` [arch-users] Re: cvs <-> arch mirroring scripts Robert Collins
2003-08-14  9:59         ` Miles Bader
2003-08-17 17:29       ` Richard Stallman
2003-08-17 17:42         ` Rajesh Vaidheeswarran
2003-08-18 19:15           ` Richard Stallman
2003-08-19 14:38             ` [arch-users] " Rajesh Vaidheeswarran
2003-08-20 17:23               ` Richard Stallman
2003-08-22  8:17                 ` dhruva
2003-08-18  4:10         ` Miles Bader
2003-08-18 19:16           ` Richard Stallman
2003-08-18 22:29             ` Miles Bader
2003-08-20  2:43               ` Richard Stallman
     [not found] <200308151543.h7FFhofE006354@rum.cs.yale.edu>
2003-08-16  2:30 ` [arch-users] " Miles Bader
2003-08-16  2:43   ` Tom Lord

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=buo3cg4inuc.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=arch-users@lists.fifthvision.net \
    --cc=emacs-devel@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 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.