Skip to content
Browse files

darcs2.8.1 doesn't recognize --old-fashioned-inventory anymore, use -…

…-hashed instead
  • Loading branch information...
1 parent 0be8ed0 commit af69a468261f1be64eae8679418a6685bbe85790 @kmels kmels committed Jun 5, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 darcs-to-git
View
6 darcs-to-git
@@ -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 af69a46

Please sign in to comment.
Something went wrong with that request. Please try again.