Permalink
Browse files

Merge pull request #12 from kmels/master

If DARCS_VERSION > 2.8.1, use --hashed instead of --old-fashioned-inventory
  • Loading branch information...
purcell committed Jun 5, 2012
2 parents 0be8ed0 + af69a46 commit 65af7353a6a96e42c403e48842f080d2e74a6c71
Showing with 5 additions and 1 deletion.
  1. +5 −1 darcs-to-git
View
@@ -491,7 +491,11 @@ unless File.directory?("_darcs")
darcs_init << "--darcs-2"
elsif DARCS_VERSION >= [2, 0, 0]
puts "Using legacy darcs inventory format to match upstream repo"
- darcs_init << "--old-fashioned-inventory"
+ if DARCS_VERSION >= [2, 8, 1]
+ darcs_init << "--hashed"
+ else
+ darcs_init << "--old-fashioned-inventory"
+ end
end
run(*darcs_init)

0 comments on commit 65af735

Please sign in to comment.