repo.or.cz
/
parsecvs
/
imz-RCS2git-use-cases.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Tagging the result is much more sensible than naming it a new branch.
[parsecvs/imz-RCS2git-use-cases.git]
/
parseRCS-merging-init
blob
7224a9220a591aa7fbe95c9fb341b9a0402bf7ed
1
#!/bin/bash
2
3
set -e
4
5
# The tag which will refer to the commit.
6
TAG
=
"
$1
"
7
shift
8
# Other options are passed to parsecvs.
9
10
parseRCS-indep
"$@"
11
echo
"Merged initial RCS states."
| git mread-and-commit
"
$TAG
"
\
12
$
(
git heads-for-merge |
xargs
git roots-of-hist
)