[issue1196] file can be listed, but not read: hg add works, hg commit then fails

THURNER rupert mercurial-bugs at selenic.com
Mon Jun 23 13:08:28 CDT 2008


New submission from THURNER rupert <rupert.thurner at gmail.com>:

on windows it is possible to allow a user to list a directory, and at the same 
time disallow opening a file in this directory for reading.

it "hg adds" such a file without trouble, but bails out when doing a "hg 
commit". it would be much nicer to print a warning / question which allows to 
continue the commit anyway.

leaving non-readable files out of a commit would be a possibility also, but i 
guess it slows it down unecessarily.

----------
messages: 6390
nosy: ThurnerRupert
priority: bug
status: unread
title: file can be listed, but not read: hg add works, hg commit then fails

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1196>
____________________________________________________



More information about the Mercurial-devel mailing list