Mercurial > hg
comparison tests/test-hgignore.t @ 42862:96ddf83fc267
tests: show the pattern generated for a relative glob
Differential Revision: https://phab.mercurial-scm.org/D6763
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Sun, 25 Aug 2019 22:52:36 -0400 |
parents | f78f305454fd |
children | 72890d8f9860 |
comparison
equal
deleted
inserted
replaced
42861:57ea0a81a65c | 42862:96ddf83fc267 |
---|---|
174 $ hg status | 174 $ hg status |
175 A dir/b.o | 175 A dir/b.o |
176 ? .hgignore | 176 ? .hgignore |
177 ? a.c | 177 ? a.c |
178 ? syntax | 178 ? syntax |
179 $ hg debugignore | |
180 <includematcher includes='(?:|.*/)[^/]*\\.o(?:/|$)'> | |
179 | 181 |
180 $ cd .. | 182 $ cd .. |
181 $ echo > .hg/testhgignorerel | 183 $ echo > .hg/testhgignorerel |
182 $ echo "syntax: glob" > .hgignore | 184 $ echo "syntax: glob" > .hgignore |
183 $ echo "re:.*\.o" >> .hgignore | 185 $ echo "re:.*\.o" >> .hgignore |