

It has been bundled with Mercurial since 1.1 You can just enable the ColorExtension to colorize command outputs. If you need finer control, you can pipe the output of ' hg st -un' through your favorite commands. Remove the ' -p' option to really removed the matched files. Mercurial ships with the PurgeExtension for that purpose: One liner to remove unknown files with a pattern Or you could simply clone the repository and remove the. Make a clean copy of a source tree, like CVS export (The /path/to/repo bit is unfortunate but necessary to make it work when invoking ' hg' from within a subdir of the repo.)ĩ.

hgignore file for this specific working copy. This new file will be untracked, but work the same as the versioned. Ignore files in local working copy onlyĪdd the following to the repo's. It is possible to abbreviate command options:Ĩ. hg/hgrc of repository (or to your ' -webdir-conf'): If you want to create web links to tagged or tip versions of a repository or a file, you can do so like this:īe aware though that tarballs require some configuration to work add this to. Create links to snapshots of files and tarballs You can track changes to projects and individual files with RSS feeds from hgweb. Edit hgrc and add something like:ĭefault-push = Track changes to a repository with RSS It is possible to store a default push URL that will be used when you type just ' hg push'. Save a push URL so that you don't need to enter it each time If you want to revert all pendings ' add's, at least on Unix you can use this trick:Ģ. For example, if you just ran ' hg add' and realized that you do not want files foo or bar to be tracked by Mercurial: If you have accidentally added a file, the way to undo that (changing its status from A back to ?, or unknown) is ' hg revert'. Specialities on Filesystems like Windows, Andrew AFS Manually unpacking a changeset bundle created by 'hg strip' Visualizing whether someone else committed any change in web interface Recreate hardlinks between two repositories ) filesĬoncatenating multiple changesets into one changeset See diffs when editing commit message with VIM

Tortoisehg shelve changes windows#
Beware of plain copying a Repo from Windows to Linux.list files which might be affected by a merge.View differences between a feature branch and latest ancestor of default.Restore file history after file move without rename.Check for tabs or trailing whitespace before commit.Merge or rebase with uncommitted changes.Check If One revision Is A Descendant Of Another.Prevent a push that would create multiple heads.Specify Explicit Ssh Connection Timeouts.Avoid merging autogenerated (binary) files (PDF).Log all csets that would be merged (emulate '`hg incoming`' for merges).Convert a repo with mixed line endings to LF only.Use an extension only for one call (without editing hgrc).Split a subdirectory into a separate project.Keep "My" or "Their" files when doing a merge.Change temporary directory used on remote when pushing.Setting the default context for diff to something larger.Removing the working directory of a repository.hg diff does not support -foo option like gnu diff does.Using RCS merge as the filemerge program.Using environment variables in hgrc files.One liner to remove unknown files with a pattern.Make a clean copy of a source tree, like CVS export.Ignore files in local working copy only.Create links to snapshots of files and tarballs.Save a push URL so that you don't need to enter it each time.
