[Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

Akira Li 4kir4.1i at gmail.com
Sun Nov 30 15:08:32 CET 2014


Larry Hastings <larry at hastings.org> writes:

> On 11/29/2014 04:37 PM, Donald Stufft wrote:
>> On Nov 29, 2014, at 7:15 PM, Alex Gaynor <alex.gaynor at gmail.com> wrote:
>>> Despite being a regular hg
>>> user for years, I have no idea how to create a local-only branch, or a branch
>>> which is pushed to a remote (to use the git term).
>> I also don’t know how to do this.
>
> Instead of collectively scratching your heads, could one of you guys
> do the research and figure out whether or not hg supports this
> workflow?  One of the following two things must be true:
>
> 1. hg supports this workflow (or a reasonable fascimile), which may
>    lessen the need for this PEP.
> 2. hg doesn't support this workflow, which may strengthen the need for
>    this PEP.
>

Assuming git's "all work is done in a local branch" workflow, you could
use bookmarks with hg 

http://lostechies.com/jimmybogard/2010/06/03/translating-my-git-workflow-with-local-branches-to-mercurial/
http://stevelosh.com/blog/2009/08/a-guide-to-branching-in-mercurial/#branching-with-bookmarks
http://mercurial.selenic.com/wiki/BookmarksExtension#Usage
http://stackoverflow.com/questions/1598759/git-and-mercurial-compare-and-contrast


--
Akira



More information about the Python-Dev mailing list