##// END OF EJS Templates
Make churn an official extension
Patrick Mezard -
r6348:f8feaa66 default
parent child Browse files
Show More
@@ -0,0 +1,31 b''
1 #!/bin/sh
2
3 echo "[extensions]" >> $HGRCPATH
4 echo "churn=" >> $HGRCPATH
5
6 echo % create test repository
7 hg init repo
8 cd repo
9 echo a > a
10 hg ci -Am adda -u user1
11 echo b >> a
12 echo b > b
13 hg ci -Am addb -u user2
14 echo c >> a
15 echo c >> b
16 echo c > c
17 hg ci -Am addc -u user3
18
19 echo % churn all
20 hg churn
21 echo % churn up to rev 1
22 hg churn -r :1
23 echo % churn with aliases
24 cat > ../aliases <<EOF
25 user1 alias1
26 user3 alias3
27 EOF
28 hg churn --aliases ../aliases
29 echo % churn with column specifier
30 COLUMNS=40 hg churn
31
@@ -0,0 +1,19 b''
1 % create test repository
2 adding a
3 adding b
4 adding c
5 % churn all
6 user3 3 ***************************************************************
7 user2 2 ******************************************
8 user1 1 *********************
9 % churn up to rev 1
10 user2 2 ***************************************************************
11 user1 1 *******************************
12 % churn with aliases
13 alias3 3 **************************************************************
14 user2 2 *****************************************
15 alias1 1 ********************
16 % churn with column specifier
17 user3 3 ***********************
18 user2 2 ***************
19 user1 1 *******
1 NO CONTENT: file renamed from contrib/churn.py to hgext/churn.py
NO CONTENT: file renamed from contrib/churn.py to hgext/churn.py
General Comments 0
You need to be logged in to leave comments. Login now