-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
listFix.lift
50 lines (39 loc) · 1.57 KB
/
listFix.lift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#read --branchify=branches/* listFix.svn
#read listFix.svn
read --nobranch listFix.svn
path rename "branches/1.5.3/(.*)" "branches/1.5.3/dev/\1"
path rename "branches/2.0.0/(.*)" "branches/2.0.0/dev/\1"
path rename "branches/2.1.0/(.*)" "branches/2.1.0/dev/\1"
path rename "branches/2.2.0/(.*)" "branches/2.2.0/dev/\1"
branchlift master branches/1.5.3
branchlift master branches/2.0.0
branchlift master branches/2.1.0
branchlift master branches/2.2.0
# Check for and report glitches such as timestamp collisions,
# ill-formed committer/author IDs, multiple roots, etc.
lint
# Map Subversion usernames to Git-style user IDs. In a real
# conversion you'd probably have a lot more of these and you'd
# probably read them in from a separate file, not a heredoc.
authors read <<EOF
firewyre = firewyre <[email protected]>
John Peterson <[email protected]> = John Peterson <[email protected]>
user22735 = user22735 <[email protected]>
EOF
# Massage comments into Git-like form (with a topic sentence and a
# spacer line after it if there is following running text). Only
# done when the first line is syntactically recognizable as a whole
# sentence.
gitify
references lift
# Exclude releases
1..$ expunge /releases/.*/
# Process GNU Changelogs to get better attributions for changesets.
# When a commit was derived from a patch and checked in by someone
# other than its author this can often correct the commit attribution.
changelogs
# We want to write a Git repository
prefer git
#branch rename refs/heads/unbranched refs/heads/main
# Do it
rebuild listFix.git