summaryrefslogtreecommitdiff
path: root/t/t9300-fast-import.sh
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-03-07 18:07:26 -0500
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-03-07 18:07:26 -0500
commite8438420bb7d368bec3647b90c557b9931582267 (patch)
tree6a5737f68624bc073e8bea3c7de8914d481b4bd3 /t/t9300-fast-import.sh
parentUse atomic updates to the fast-import mark file (diff)
downloadtgif-e8438420bb7d368bec3647b90c557b9931582267.tar.xz
Allow fast-import frontends to reload the marks table
I'm giving fast-import a lesson on how to reload the marks table using the same format it outputs with --export-marks. This way a frontend can reload the marks table from a prior import, making incremental imports less painful. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 't/t9300-fast-import.sh')
-rwxr-xr-xt/t9300-fast-import.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh
index 970d683650..2e1a09ff2d 100755
--- a/t/t9300-fast-import.sh
+++ b/t/t9300-fast-import.sh
@@ -111,6 +111,14 @@ test_expect_success \
'A: verify marks output' \
'diff -u expect marks.out'
+test_expect_success \
+ 'A: verify marks import' \
+ 'git-fast-import \
+ --import-marks=marks.out \
+ --export-marks=marks.new \
+ </dev/null &&
+ diff -u expect marks.new'
+
###
### series B
###