git-annex/doc/bugs/build_issue_with_8baff14054e65ecbe801eb66786a55fa5245cb30.mdwn

44 lines
1.2 KiB
Text
Raw Normal View History

2012-06-27 20:51:19 +00:00
Building commit 8baff14054e65ecbe801eb66786a55fa5245cb30 yields this...
<pre>
[164 of 189] Compiling Command.Sync ( Command/Sync.hs, tmp/Command/Sync.o )
Command/Sync.hs:268:34:
Not in scope: `vermarker'
Perhaps you meant `varmarker' (line 267)
make: *** [git-annex] Error 1
</pre>
2012-06-27 20:56:33 +00:00
Supplied fix...
<pre>
From a23a1af99c7a95c316a87f9c6f5f67a6f8ff6937 Mon Sep 17 00:00:00 2001
From: Jimmy Tang <jtang@tchpc.tcd.ie>
Date: Wed, 27 Jun 2012 21:55:22 +0100
Subject: [PATCH 14/14] fix build issue introduced in
8baff14054e65ecbe801eb66786a55fa5245cb30
---
Command/Sync.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Command/Sync.hs b/Command/Sync.hs
index b2bf24d..dfaed59 100644
--- a/Command/Sync.hs
+++ b/Command/Sync.hs
@@ -265,7 +265,7 @@ mergeFile file key
| otherwise = go $ shortHash $ show key
where
varmarker = ".variant-"
- doubleconflict = vermarker `isSuffixOf` (dropExtension file)
+ doubleconflict = varmarker `isSuffixOf` (dropExtension file)
go v = takeDirectory file
</> dropExtension (takeFileName file)
++ varmarker ++ v
--
1.7.11.1
</pre>
2012-06-27 22:08:52 +00:00
[[fixed|done]]