Use only integer part of mtime in workingfilectx.date(), fixes test-context.py
Similar to what is done in dirstate.status() (changeset 882e703eaa94)
and has to be removed when Mercurial switches to subsecond granularity.
adding baserestoring status: hg patches saved state