hg log -bdefault with changesets that are delivered from other branches

Tom Anderson tom.anderson at timgroup.com
Tue Aug 7 15:45:08 UTC 2012


On 07/08/12 13:38, praveen_m86 wrote:
> Is there a provision to view the log of a repository with respect to a
> specified branch including the list of changesets that are committed on a
> different branch but delivered to the specified branch.
>
> Something equivalent to
>
>                   hg clone -b default testrep
>                   &
>                   hg log

How about:

hg log -r ::branchname

?

Alternatively:

hg log -r ..branchname
hg log -r 'ancestors(branchname)'

tom

-- 

Tom Anderson | Developer | +44 20 7826 4312 | timgroup.com 
<http://timgroup.com/>

STATEMENT OF CONFIDENTIALITY: The information contained in this 
electronic message and any attachments to this message are intended for 
the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If you are not the intended recipient, please 
notify Tom Anderson at TIM Group at tom.anderson at timgroup.com and 
destroy all copies of this message and any attachments.

TIM Group is the trading name for YouDevise Limited. YouDevise Limited 
is registered in England, No. 3331176. Registered office: 3 Copthall 
Avenue, London, EC2R 7BH.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120807/4143a3c0/attachment-0002.html>


More information about the Mercurial mailing list