fsck: Ignore error recording the fsck in the activity log, which can happen when running fsck in a read-only repository. Closes: #698559 (fsck can still need to write to the repository if it find problems, but a successful fsck can be done read-only)
This commit is contained in:
parent
9ce7c5dfb2
commit
469242ac4d
2 changed files with 6 additions and 1 deletions
|
@ -76,7 +76,7 @@ seek ps = do
|
||||||
(withFilesInGit $ whenAnnexed $ start from i)
|
(withFilesInGit $ whenAnnexed $ start from i)
|
||||||
ps
|
ps
|
||||||
withFsckDb i FsckDb.closeDb
|
withFsckDb i FsckDb.closeDb
|
||||||
recordActivity Fsck u
|
void $ tryIO $ recordActivity Fsck u
|
||||||
|
|
||||||
start :: Maybe Remote -> Incremental -> FilePath -> Key -> CommandStart
|
start :: Maybe Remote -> Incremental -> FilePath -> Key -> CommandStart
|
||||||
start from inc file key = do
|
start from inc file key = do
|
||||||
|
|
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -31,6 +31,11 @@ git-annex (5.20150421) UNRELEASED; urgency=medium
|
||||||
symlinks when downloading from ftp.
|
symlinks when downloading from ftp.
|
||||||
* Support checking ftp urls for file presence.
|
* Support checking ftp urls for file presence.
|
||||||
* contentlocation, examinekey, lookupkey: Added --batch mode option.
|
* contentlocation, examinekey, lookupkey: Added --batch mode option.
|
||||||
|
* fsck: Ignore error recording the fsck in the activity log,
|
||||||
|
which can happen when running fsck in a read-only repository.
|
||||||
|
Closes: #698559
|
||||||
|
(fsck can still need to write to the repository if it find problems,
|
||||||
|
but a successful fsck can be done read-only)
|
||||||
|
|
||||||
-- Joey Hess <id@joeyh.name> Tue, 21 Apr 2015 15:54:10 -0400
|
-- Joey Hess <id@joeyh.name> Tue, 21 Apr 2015 15:54:10 -0400
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue