I broke my local repository
Roger Pate
roger at qxxy.com
Wed Sep 14 15:02:47 UTC 2016
On Wed, Sep 14, 2016 at 10:06 AM, <yoursurrogategod at gmail.com> wrote:
> That's what I ended up doing. At the moment I'm thinking of making a local backup (cron job every hour) of my repository using pull. Should my repo become corrupted, I will simply go back to that backup (hg will stop working and not pull in my broken changes) and be up and running quickly.
Cron is easy enough for now, but you may later prefer a commit hook.
Or simply manually pushing. On a side-note, if your shell supports **
globbing, then **/*.o will be more intuitive for you than $(find .
-name '*.o') and has other benefits, like skipping dot-names and
handling more file names.
More information about the Mercurial
mailing list