80 $ hg diff --stat |
80 $ hg diff --stat |
81 dir1/new | 1 + |
81 dir1/new | 1 + |
82 dir2/new | 1 + |
82 dir2/new | 1 + |
83 2 files changed, 2 insertions(+), 0 deletions(-) |
83 2 files changed, 2 insertions(+), 0 deletions(-) |
84 |
84 |
85 $ hg diff --stat --relative dir1 |
85 $ hg diff --stat --root dir1 |
86 new | 1 + |
86 new | 1 + |
87 1 files changed, 1 insertions(+), 0 deletions(-) |
87 1 files changed, 1 insertions(+), 0 deletions(-) |
88 |
88 |
89 $ hg diff --stat --relative dir1 dir2 |
89 $ hg diff --stat --root dir1 dir2 |
90 warning: dir2 not inside relative root dir1 |
90 warning: dir2 not inside relative root dir1 |
91 |
91 |
92 $ hg diff --stat --relative dir1 -I dir1/old |
92 $ hg diff --stat --root dir1 -I dir1/old |
93 |
93 |
94 $ cd dir1 |
94 $ cd dir1 |
95 $ hg diff --stat . |
95 $ hg diff --stat . |
96 dir1/new | 1 + |
96 dir1/new | 1 + |
97 1 files changed, 1 insertions(+), 0 deletions(-) |
97 1 files changed, 1 insertions(+), 0 deletions(-) |
98 $ hg diff --stat --relative . |
98 $ hg diff --stat --root . |
99 new | 1 + |
99 new | 1 + |
100 1 files changed, 1 insertions(+), 0 deletions(-) |
100 1 files changed, 1 insertions(+), 0 deletions(-) |
101 |
101 |
102 $ hg diff --stat --relative ../dir1 ../dir2 |
102 $ hg diff --stat --root ../dir1 ../dir2 |
103 warning: ../dir2 not inside relative root . |
103 warning: ../dir2 not inside relative root . |
104 |
104 |
105 $ hg diff --stat --relative . -I old |
105 $ hg diff --stat --root . -I old |
106 |
106 |
107 $ cd .. |
107 $ cd .. |