blob: 4d47d6b81e24f1a71353447e629d7d53d3d5c71b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Set up logging
logfile conversion.sandbox.log
# Read common fast-import stream
read <common.fi
prefer git
# REPOSITORY SPECIFIC - SANDBOX
# 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 /^sandbox\/.*$/
# Move up a directory
path rename "sandbox/(.*)" "\1" --force
|