![]() ![]() ![]() 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 Rename a branch (with the evolve extension).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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |