summaryrefslogtreecommitdiff
path: root/sandbox/aa-turner/git_conversion/web.lift
blob: 2c7862df8191b77775dd61367e9f65c73f4538ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Set up logging
logfile conversion.web.log

# Read common fast-import stream
read <common.fi
prefer git

# REPOSITORY SPECIFIC - WEB

# Delete unneeded branches
branch delete refs/heads/plugins
branch delete refs/heads/subdocs
branch delete refs/heads/lossless-rst-writer
branch delete refs/heads/nesting
branch delete heads/rel-0.15

# Delete everything else
expunge --notagify --not /^web.*$/

# Move up a directory
path rename "web_docstring/(.*)" "\1" --force
path rename "web_structuredtext/(.*)" "\1" --force
path rename "web/(.*)" "\1" --force