comparison mercurial/subrepo.py @ 25806:5e18f6e39006

censor: make various path forms available like other Mercurial commands Before this patch, censored file should be exactly "a path relative to repository root" regardless of current working directory, because "hg censor" passes "path" to "repo.file()" directly without any preparations. To make various path forms available like other Mercurial commands, this patch gets a target file path in the way of "hg parents FILE". Getting "wctx" is relocated to reuse "wctx" for efficiency.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri, 17 Jul 2015 00:22:16 +0900
parents de654a83fe1c
children 0ae07173881d
comparison
equal deleted inserted replaced
25805:584044e5ad57 25806:5e18f6e39006