Fossil SCM
|
1
|
#!/bin/sh |
|
2
|
# Imports a bundle which has been exported with exportbundle. |
|
3
|
# Syntax: exportbundle.sh oldrepo.fossil newrepo.fossil data.bundle |
|
4
|
|
|
5
|
set -e |
|
6
|
|
|
7
|
oldrepo="$1" |
|
8
|
newrepo="$2" |
|
9
|
bundle="$3" |
|
10
|
|
|
11
|
fossil clone $oldrepo $newrepo |
|
12
|
fossil import --incremental $newrepo < $bundle |
|
13
|
|
|
14
|
|