Mercurial > hg
view tests/test-churn.out @ 9336:dd6f605b15c0
mq: upgrade the patch to HG format when adding the author name with qrefresh
When setting the author field with qrefresh (-u|-U), and the patch does have
neither a 'From:' nor a '# User' header, add the author name as such:
- if the patch has a 'Date:' header, add a 'From:' header
- otherwise, upgrade to Mercurial extended patch format and add # From
author | Yann E. MORIN <yann.morin.1998@anciens.enib.fr> |
---|---|
date | Wed, 12 Aug 2009 10:48:18 +0200 |
parents | f108e89400d8 |
children | f7968bba2307 |
line wrap: on
line source
% create test repository adding a adding b adding c % churn separate directories user1 1 *************************************************************** % churn all user3 3 *************************************************************** user1 3 *************************************************************** user2 2 ****************************************** % churn up to rev 2 user2 2 *************************************************************** user1 1 ******************************* % churn with aliases alias3 3 ************************************************************** alias1 3 ************************************************************** user2 2 ***************************************** % churn with .hgchurn alias3 3 ************************************************************** alias1 3 ************************************************************** user2 2 ***************************************** % churn with column specifier user3 3 *********************** user1 3 *********************** user2 2 *************** % churn by hour 06 1 **************** 09 2 ********************************* 12 4 ****************************************************************** 13 1 ****************