purcell / darcs-to-git

Convert/mirror darcs repos into git repos
http://www.sanityinc.com/articles/converting-darcs-repositories-to-git
MIT License
96 stars 20 forks source link

Doesn’t work with nfs #1

Closed adrianheine closed 14 years ago

adrianheine commented 14 years ago

darcs creates a tagging directory darcs_testing_for_nfs which looks like a change in darcs whatsnew -sl.

def darcs_reports_clean_repo?
-    `darcs whatsnew -sl | egrep -v '^a (\./)?\.git(/|$)'` =~ /^(No changes!)?$/
+    `darcs whatsnew -sl | egrep -v '^a (\./)?\.git(/|$)' | egrep -v '^a ./darcs_testing_for_nfs/$'` =~ /^(No changes!)?$/
end
purcell commented 14 years ago

Committed, thanks.