revlog: fix buildtext local scope
buildtext stores its result in _addrevision scope to avoid repeated builds
cachedelta is already visible
i18n-ja: synchronized with
6f6f6a9c2a41
i18n-pt_BR: synchronized with
db2ff771204d
Reviewed formatting fixes from
eda77c3e246a.
i18n-da: synchronize with
e1855dee28c1
qnew: distinguish between existing file and directory (
issue2464)
qnew: give better feedback when doing 'hg qnew foo/' (
issue2464)
opener: do not create "foo" directory when writing to "foo/"
The directories were not cleaned up when the subsequent open failed
and this would confuse things like qnew.