filestore 0.6.3 → 0.6.3.1
raw patch · 3 files changed
+10/−4 lines, 3 filesdep ~directoryPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: directory
API changes (from Hackage documentation)
Files
- CHANGES +6/−0
- Data/FileStore/Git.hs +2/−2
- filestore.cabal +2/−2
CHANGES view
@@ -1,3 +1,9 @@+Version 0.6.3.1 released 13 Feb 2017++* Bump to 0.6.3.1, raise directory upper bound.+* Fix false-positive on travis.+* Fix bug in 'revision' for git (changes were not obtained).+ Version 0.6.3 released 23 Jan 2017 * Handle git rename changes (as a Deleted+Added) (#10, Kevin Quick).
Data/FileStore/Git.hs view
@@ -196,9 +196,9 @@ -- | Get revision information for a particular revision ID, or latest revision. gitGetRevision :: FilePath -> RevisionId -> IO Revision gitGetRevision repo revid = do- (status, _, output) <- runGitCommand repo "log" ["-z","--pretty=format:" ++ gitLogFormat, "--max-count=1", revid]+ (status, _, output) <- runGitCommand repo "whatchanged" ["-z","--pretty=format:" ++ gitLogFormat, "--max-count=1", revid] if status == ExitSuccess- then parseLogEntry $ B.drop 1 output -- drop initial \1+ then parseLogEntry $ B.drop 1 output -- drop initial \1 else throwIO NotFound -- | Get a list of all known files inside and managed by a repository.
filestore.cabal view
@@ -1,5 +1,5 @@ Name: filestore-Version: 0.6.3+Version: 0.6.3.1 Cabal-Version: >= 1.10 Build-type: Custom Synopsis: Interface for versioning file stores.@@ -33,7 +33,7 @@ containers >= 0.3 && < 0.6, utf8-string >= 0.3 && < 1.1, filepath >= 1.1 && < 1.5,- directory >= 1.0 && < 1.3,+ directory >= 1.0 && < 1.4, parsec >= 2 && < 3.2, process >= 1.0 && < 1.5, time >= 1.1 && < 1.7,