Populating the new repo
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Thu Nov 21 01:34:13 PST 2013
I have extracted all commits to the file make/scripts/webrev.ksh using
the following steps:
1) Extract just the changes related to webrev using hg convert from an
updated jdk8 master repo.
magnusi at sthihse:/localhome/hg$ mkdir webrev-tmp
magnusi at sthihse:/localhome/hg$ cd webrev-tmp
magnusi at sthihse:/localhome/hg/webrev-tmp$ hg init
magnusi at sthihse:/localhome/hg/webrev-tmp$ cd ..
magnusi at sthihse:/localhome/hg$ cat > /tmp/conv-webrev
include make/scripts/webrev.ksh
rename make/scripts/webrev.ksh webrev.ksh
magnusi at sthihse:/localhome/hg$ hg convert --filemap /tmp/conv-webrev
template-jdk8 webrev-tmp
2) Check the conversion results
magnusi at sthihse:/localhome/hg$ cd webrev-tmp
magnusi at sthihse:/localhome/hg/webrev-tmp$ hg log | grep -v tag:
changeset: 9:c7127caa0eeb
user: convert-repo
date: Thu Nov 21 08:21:01 2013 +0000
summary: update tags
changeset: 8:9eab6a0ae4b5
user: ihse
date: Fri Nov 08 09:36:55 2013 +0100
summary: 8027836: Webrev should handle files that has been moved
from a directory which now is removed.
changeset: 7:f1642f3a59f9
user: mduigou
date: Thu Oct 17 14:07:57 2013 -0700
summary: 8026062: webrev.ksh: fix bug title web scraping, remove
teamware, sac, "open bug", -l and wxfile support
changeset: 6:236b4c9ba4f9
user: thurka
date: Mon Oct 07 13:11:40 2013 +0200
summary: 8025920: webrev.ksh does not provide any details about
changes in zip files
changeset: 5:8955f05d4a13
user: mduigou
date: Fri Sep 13 12:06:53 2013 -0700
summary: 8024201: Update bugdatabase url
changeset: 4:99e8e441256a
user: jgish
date: Tue Apr 16 13:25:39 2013 -0400
summary: 8011347: JKD-8009824 has broken webrev with some ksh versions
changeset: 3:88c0ab2b4332
user: jgish
date: Tue Mar 26 13:41:36 2013 -0400
summary: 8009824: webrev.ksh generated jdk.patch files do not handle
renames, copies, and shouldn't be applied
changeset: 2:1d349b9ca752
user: mduigou
date: Wed Feb 20 17:56:16 2013 -0800
summary: 8008629: webrev.ksh needs to quote bug title it gets back
from scraping bugs.sun.com
changeset: 1:b14b0b6f925f
user: mduigou
date: Wed Feb 06 11:09:24 2013 -0800
summary: 8004726: Link bug ids to jbs rather than monaco.
changeset: 0:4858edd78da4
user: ohair
date: Tue Mar 01 11:54:05 2011 -0800
summary: 7023111: Add webrev script to make/scripts
3) Remove the converted tags
Note that changeset 9 is artificially created by the conversion. It
includes *all* jdk tags. (I filtered them out in the log, otherwise the
actual changes drowned in "tags: " lines.)
magnusi at sthihse:/localhome/hg/webrev-tmp$ hg rollback
rolling back to revision 8 (undo commit)
4) Pull the changes into the real webrev repo
magnusi at sthihse:/localhome/hg/webrev-tmp$ cd ..
magnusi at sthihse:/localhome/hg$ hg clone
http://hg.openjdk.java.net/code-tools/webrev
destination directory: webrev
no changes found
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
magnusi at sthihse:/localhome/hg$ cd webrev
magnusi at sthihse:/localhome/hg/webrev$ hg pull ../webrev-tmp
pulling from ../webrev-tmp
requesting all changes
adding changesets
adding manifests
adding file changes
added 9 changesets with 9 changes to 1 files
(run 'hg update' to get a working copy)
magnusi at sthihse:/localhome/hg/webrev$ hg update
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
magnusi at sthihse:/localhome/hg/webrev$ ls
webrev.ksh
/Magnus
More information about the webrev-dev
mailing list