Mercurial > hg
comparison tests/test-unionrepo.t @ 27723:bf86e3e87123 stable
unionrepo: fix wrong rev being checked in iscensored (issue5024)
author | Sean Farley <sean@farley.io> |
---|---|
date | Wed, 06 Jan 2016 11:01:55 -0800 |
parents | 198b003a2263 |
children | eb586ed5d8ce |
comparison
equal
deleted
inserted
replaced
27688:6c7d26cef0cd | 27723:bf86e3e87123 |
---|---|
146 4:9e6fb3e0b9da repo2-2-merge | 146 4:9e6fb3e0b9da repo2-2-merge |
147 3:c337dba826e7 repo2-1 | 147 3:c337dba826e7 repo2-1 |
148 2:68c0685446a3 repo1-2 | 148 2:68c0685446a3 repo1-2 |
149 1:8a58db72e69d repo1-1 | 149 1:8a58db72e69d repo1-1 |
150 0:f093fec0529b repo1-0 | 150 0:f093fec0529b repo1-0 |
151 | |
152 union repos should use the correct rev number (issue5024) | |
153 | |
154 $ hg init a | |
155 $ cd a | |
156 $ echo a0 >> f | |
157 $ hg ci -Aqm a0 | |
158 $ cd .. | |
159 $ hg init b | |
160 $ cd b | |
161 $ echo b0 >> f | |
162 $ hg ci -Aqm b0 | |
163 $ echo b1 >> f | |
164 $ hg ci -qm b1 | |
165 $ cd .. | |
166 | |
167 "hg files -v" to call fctx.size() -> fctx.iscensored() | |
168 $ hg files -R union:b+a -r2 -v | |
169 3 b/f (glob) |