pull - Listing incoming branches in Mercurial -


i happen work against server repo has lot of named branches. pull branch i'm working on, keep me local repositories less cluttered.

sometimes, want find out branches in server repo have new changesets can pull.

is there way can list either branch names, or branch heads? opposite of:

$ hg log -r "outgoing() , head()" 

sure, can along lines of:

$ hg incoming | grep branch | uniq 

but i'd happy find more mercurial-native , cross platform solution (i work on windows).

for time being, decided stick grep way. added hgrc:

[alias] remote = !hg incoming | grep branch | sort | uniq 

on windows, use grep , uniq found in unxutils.

the sample output looks this:

d:\projects\myproject>hg remote branch:      1.4-stable branch:      next-major branch:      ticket-199 branch:      ticket-90 

unfortunately, command still lists changesets under hood, running can take time.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -