record initial seed in sim log
Unless the log starts with a command that records a seed.
This commit is contained in:
parent
02f0996e25
commit
e568ac96b7
2 changed files with 7 additions and 2 deletions
|
@ -94,8 +94,9 @@ start simfile = do
|
|||
startup simdir st cs = do
|
||||
repobyname <- mkGetExistingRepoByName
|
||||
createAnnexDirectory (toRawFilePath simdir)
|
||||
st' <- go st repobyname cs
|
||||
liftIO $ saveState st'
|
||||
let st' = recordSeed st cs
|
||||
st'' <- go st' repobyname cs
|
||||
liftIO $ saveState st''
|
||||
|
||||
go st _ [] = return st
|
||||
go st repobyname (c:cs) = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue