There are a few different tools for Subversion that run in the background, pinging the central repository every few minutes, and will alert you if any changes are detected (I'm using Windows 7, but this is true for OS X and Linux as well).
Is there anything like that for Mercurial, that will watch a specific repository and alert me to any changes?
hg commit creates a snapshot of the changes to 1 or more files in the local repository. Always write a log message when committing changes. hg diff displays differences between revisions. hg revert recovers old versions of files.
hg strip [-k] [-f] [-B bookmark] [-r] REV... The strip command removes the specified changesets and all their descendants. If the working directory has uncommitted changes, the operation is aborted unless the --force flag is supplied, in which case changes will be discarded.
Description. Update the repository's working directory to the specified changeset. If no changeset is specified, update to the tip of the current named branch and move the active bookmark (see hg help bookmarks). Update sets the working directory's parent revision to the specified changeset (see hg help parents).
hg/hgrc file. Global configuration like the username setting is typically put into: %USERPROFILE%\mercurial. ini (on Windows)
One way to do this is to have a local tool monitor the repository's RSS (or atom) feed. Every repo served over hgserve/hgweb/hgwebdir has feeds available and most systems have RSS poller widgets: https://superuser.com/questions/9929/rss-notification-in-system-tray
For example, for the main mercurial repository, you'd configure your feed poller to watch:
https://www.mercurial-scm.org/repo/hg/rss-log
There's an extension called NotifyExtension that is distributed with Mercurial that can be configured to send email when a repository changes.
Edited to add: If you prefer a local client solution, check out the Hg Commit Monitor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With