From: "NIIMI Satoshi" <sa2c@sa2c.net>
To: emacs-devel@gnu.org
Subject: Re: [DIFFS] Re: Connection to emacs CVS broken ?
Date: Sat, 17 Mar 2007 04:24:20 +0900 [thread overview]
Message-ID: <7a2b18c80703161224v75a464cdxf87c29115dcafc79@mail.gmail.com> (raw)
In-Reply-To: <E1HSGGw-00083r-Bw@fencepost.gnu.org>
2007/3/17, Richard Stallman <rms@gnu.org>:
> 4) extract changesets from my copy of CVS repository (e.g. convert the
> repository to changeset based SCM), verify changesets missing in
> savannah, commit them into savannah.
>
> Can you (or anyone) point us at documentation on how to do this?
Here is a script to extract changesets with Mercurial (Distributed
SCM) and cvs20hg (CVS to Mercurial converter).
One problem of this script is extracted changeset "emacs-trunk-09"
contains incorrect difference for "$Id$" since cvs20hg seems to ignore
sticky flag for keyword expansion.
But it can be fixed to edit the changeset by hand because its format
is usual unified diff.
--------CUT HERE--------
#! /bin/sh
set -e -x
# limit processing range for speed up
date='2007-03-11 00:00:00 UTC'
# path to savannah repository backup
cvsroot_savannah=/repo/emacs
# path to my repository backup
cvsroot_new=/repo/bak/emacs
workdir=/tmp/emacs.$$
mkdir ${workdir}
cd ${workdir}
# import initial source as of ${date}
cvs -Q -R -d ${cvsroot_savannah} co -P -D "${date}" emacs
find emacs -name CVS -type d | xargs rm -rf
hg -q init emacs
hg -q --cwd emacs commit -A -m 'initial commit' -d "${date}" -u admin
# convert savannah repository backup to hg
cvs20hg ${cvsroot_savannah} emacs emacs
# get (1+ newest) revision
new=$(expr $(hg -q -R emacs tip --template '{rev}') + 1)
# convert my repository backup to hg
cvs20hg ${cvsroot_new} emacs emacs
# extract missing changesets
hg -q -R emacs export -o emacs-trunk-%n ${new}:
--------CUT HERE--------
--
NIIMI Satoshi
next prev parent reply other threads:[~2007-03-16 19:24 UTC|newest]
Thread overview: 146+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-16 9:29 On the rebasing problem of Emacs on Cygwin Angelo Graziosi
2006-12-16 14:01 ` Eli Zaretskii
2006-12-26 9:43 ` WARNING from config.status " Angelo Graziosi
2006-12-26 11:38 ` Andreas Schwab
2007-01-15 9:02 ` Problems building recent Emacs-CVS " Angelo Graziosi
2007-02-23 13:07 ` cygwin succesfull straight build Angelo Graziosi
2007-02-23 18:15 ` Eli Zaretskii
2007-03-07 1:26 ` Pretest? Angelo Graziosi
2007-03-08 19:40 ` Pretest? Chong Yidong
2007-03-09 13:59 ` Pretest? Giorgos Keramidas
2007-03-09 14:44 ` Pretest? Chong Yidong
2007-03-09 17:07 ` Pretest? Christian Faulhammer
2007-03-09 17:35 ` Pretest? Juanma Barranquero
2007-03-09 18:33 ` Pretest? Chong Yidong
2007-03-09 17:49 ` Pretest? Eli Zaretskii
2007-03-09 18:07 ` Pretest? Giorgos Keramidas
2007-03-09 21:26 ` Pretest? Richard Stallman
2007-03-12 10:39 ` Pretest? Juanma Barranquero
2007-03-12 10:42 ` Pretest? David Kastrup
2007-03-12 11:46 ` Pretest? Juanma Barranquero
2007-03-12 14:53 ` Pretest? Stefan Monnier
2007-03-12 15:46 ` Pretest? Juanma Barranquero
2007-03-12 15:53 ` Pretest? David Kastrup
2007-03-12 20:55 ` Pretest? Chong Yidong
2007-03-12 21:32 ` Pretest? Juanma Barranquero
2007-03-13 1:03 ` Pretest? Chong Yidong
2007-03-13 9:37 ` Pretest? Juanma Barranquero
2007-03-13 2:43 ` Pretest? Richard Stallman
2007-03-13 9:43 ` Pretest? Juanma Barranquero
2007-03-13 9:52 ` Pretest? Andreas Schwab
2007-03-13 10:09 ` Pretest? David Kastrup
2007-03-13 10:23 ` Pretest? Juanma Barranquero
2007-03-19 5:15 ` Pretest? Richard Stallman
2007-03-14 3:24 ` Pretest? Richard Stallman
2007-03-14 7:10 ` Pretest? David Kastrup
2007-03-14 13:39 ` Pretest? Stefan Monnier
2007-03-14 14:04 ` Pretest? David Kastrup
2007-03-14 14:19 ` Pretest? Stefan Monnier
2007-03-14 9:18 ` Pretest? Juanma Barranquero
2007-03-14 9:32 ` Pretest? David Kastrup
2007-03-14 9:44 ` Pretest? Juanma Barranquero
2007-03-14 10:07 ` Pretest? David Kastrup
2007-03-14 10:17 ` Pretest? Juanma Barranquero
2007-03-14 13:56 ` Pretest? Chong Yidong
2007-03-14 14:24 ` Pretest? Stefan Monnier
2007-03-15 1:38 ` Pretest? Richard Stallman
2007-03-15 10:04 ` Pretest? Juanma Barranquero
2007-03-16 5:20 ` Pretest? Richard Stallman
2007-03-15 15:44 ` Pretest? Chong Yidong
2007-03-16 5:21 ` Pretest? Richard Stallman
2007-03-16 7:36 ` Pretest? David Kastrup
2007-03-07 13:37 ` Help: build emacs in cygwin Angelo Graziosi
2007-03-09 1:06 ` Killing buffers with mouse Angelo Graziosi
2007-03-09 14:56 ` Chong Yidong
2007-03-09 15:15 ` Jan Djärv
2007-03-09 15:55 ` Stefan Monnier
2007-03-09 17:43 ` Jan Djärv
2007-03-09 23:19 ` Kim F. Storm
2007-03-10 9:35 ` Jan Djärv
2007-03-13 14:24 ` Emacs and GTK Angelo Graziosi
2007-03-13 14:41 ` David Kastrup
2007-03-14 1:21 ` Angelo Graziosi
2007-03-13 14:45 ` Tassilo Horn
2007-03-10 16:00 ` Killing buffers with mouse Stefan Monnier
2007-03-10 23:07 ` Kim F. Storm
2007-03-11 1:32 ` Stefan Monnier
2007-03-09 15:41 ` Eli Zaretskii
2007-03-09 16:46 ` Angelo Graziosi
2007-03-09 17:46 ` Eli Zaretskii
2007-03-14 9:02 ` Connection to emacs CVS broken ? Angelo Graziosi
2007-03-14 9:09 ` David Kastrup
2007-03-14 17:42 ` Glenn Morris
2007-03-15 15:17 ` Kim F. Storm
2007-03-15 17:34 ` Glenn Morris
2007-03-15 20:00 ` Glenn Morris
2007-03-15 20:18 ` Eli Zaretskii
2007-03-16 3:28 ` Giorgos Keramidas
2007-03-16 5:21 ` Richard Stallman
2007-03-16 11:58 ` ttn
2007-03-16 15:07 ` James Cloos
2007-03-15 20:27 ` Chong Yidong
2007-03-15 20:49 ` Nick Roberts
2007-03-15 22:17 ` Jason Rumney
2007-03-15 23:15 ` Miles Bader
2007-03-15 23:34 ` NIIMI Satoshi
2007-03-16 4:55 ` Vinicius Jose Latorre
2007-03-16 5:25 ` Miles Bader
2007-03-16 5:47 ` Kenichi Handa
2007-03-16 6:28 ` Herbert Euler
2007-03-15 23:47 ` [DIFFS] " Kim F. Storm
2007-03-16 0:41 ` Nick Roberts
2007-03-16 1:14 ` Miles Bader
2007-03-16 1:52 ` Glenn Morris
2007-03-16 2:47 ` Miles Bader
2007-03-16 17:31 ` Richard Stallman
2007-03-16 2:56 ` NIIMI Satoshi
2007-03-16 17:31 ` Richard Stallman
2007-03-16 19:24 ` NIIMI Satoshi [this message]
2007-03-16 4:08 ` Chong Yidong
2007-03-16 9:38 ` Juanma Barranquero
2007-03-16 9:51 ` Juanma Barranquero
2007-03-16 10:08 ` Kim F. Storm
2007-03-16 15:48 ` Chong Yidong
2007-03-16 16:14 ` Kim F. Storm
2007-03-16 18:54 ` Chong Yidong
2007-03-16 19:22 ` Glenn Morris
2007-03-17 1:32 ` Herbert Euler
2007-03-17 2:19 ` Glenn Morris
2007-03-17 6:28 ` Leo
2007-03-16 16:56 ` Jason Rumney
2007-03-17 2:44 ` Glenn Morris
2007-03-17 17:26 ` Chong Yidong
2007-03-17 19:31 ` Chong Yidong
2007-03-17 23:08 ` Miles Bader
2007-03-17 23:52 ` Kim F. Storm
2007-03-18 0:01 ` Andreas Schwab
2007-03-18 0:25 ` Kim F. Storm
2007-03-18 0:14 ` Lennart Borgman (gmail)
2007-03-18 1:16 ` Chong Yidong
2007-03-18 2:11 ` Lennart Borgman (gmail)
2007-03-18 8:30 ` martin rudalics
2007-03-19 15:45 ` Chong Yidong
2007-03-18 15:56 ` Richard Stallman
2007-03-18 12:19 ` Richard Stallman
2007-03-19 18:28 ` Glenn Morris
2007-03-19 19:46 ` Stefan Monnier
2007-03-16 17:31 ` Richard Stallman
2007-03-17 0:12 ` Nick Roberts
2007-03-17 0:33 ` Miles Bader
2007-03-17 5:00 ` Nick Roberts
2007-03-17 6:02 ` Miles Bader
2007-03-18 12:18 ` Richard Stallman
2007-03-17 15:46 ` Richard Stallman
2007-03-15 23:04 ` Vinicius Jose Latorre
2007-03-16 5:21 ` Richard Stallman
2007-03-15 21:06 ` Glenn Morris
2007-03-15 20:26 ` NIIMI Satoshi
2007-03-15 20:43 ` Nick Roberts
2007-03-15 21:05 ` NIIMI Satoshi
2007-03-14 9:09 ` Davi Leal
2007-03-14 9:39 ` Angelo Graziosi
2007-03-14 10:06 ` Andreas Schwab
2007-03-15 23:35 ` Angelo Graziosi
2007-03-15 23:54 ` Vinicius Jose Latorre
2007-03-20 13:04 ` Pretest Angelo Graziosi
2007-03-10 15:50 ` Killing buffers with mouse Richard Stallman
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=7a2b18c80703161224v75a464cdxf87c29115dcafc79@mail.gmail.com \
--to=sa2c@sa2c.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 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).