TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hg advent init

25 pointsby kalmarover 6 years ago

2 comments

neandrakeover 6 years ago
To the author - I&#x27;m in the opposite boat where I&#x27;ve used mercurial for nearly 10 years but any time I try to use git I get lost. Everything in your post rung out to me as why I rather enjoy and understand hg (with exception to absorb which I haven&#x27;t yet tried).<p>I highly recommend checking out this blog which discusses adding a command which is a customized log. It&#x27;s made getting a visible understanding of my working state &amp; phases tremendously easy.<p><a href="http:&#x2F;&#x2F;jordi.inversethought.com&#x2F;blog&#x2F;customising-mercurial-like-a-pro&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jordi.inversethought.com&#x2F;blog&#x2F;customising-mercurial-l...</a><p>Additionally if you&#x27;re planning to use evolve, most of the instructions I&#x27;ve seen for using it indicate installing it via pip, however I&#x27;ve only run into issues with that (as well as coworkers and others). Instead I recommend cloning the evolve repository and pointing the extension location to it (seen in .hgrc gist below). Upgrading is as simple as going into the evolve repo and running `hg up`. I can&#x27;t wait until it&#x27;s shipped with mercurial. The evolve repo can be cloned from:<p><a href="https:&#x2F;&#x2F;www.mercurial-scm.org&#x2F;repo&#x2F;evolve" rel="nofollow">https:&#x2F;&#x2F;www.mercurial-scm.org&#x2F;repo&#x2F;evolve</a><p>This is from my .hgrc (for a mac) which customized the wip colors a bit more (and fixes a recent issue where one of the original revset commands used by the blog has been deprecated&#x2F;removed).<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;neandrake&#x2F;e770ea7b3d6bf8299f6be2ca0800290c" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;neandrake&#x2F;e770ea7b3d6bf8299f6be2ca08...</a>
评论 #18586104 未加载
alwillisover 6 years ago
<i>unnamed branches</i><p>A pretty good description of how Mercurial handles this: <a href="http:&#x2F;&#x2F;stevelosh.com&#x2F;blog&#x2F;2010&#x2F;02&#x2F;mercurial-workflows-branch-as-needed&#x2F;" rel="nofollow">http:&#x2F;&#x2F;stevelosh.com&#x2F;blog&#x2F;2010&#x2F;02&#x2F;mercurial-workflows-branch...</a>