[issue1106] hg verify should work on read-only filesystems

Greg Lindahl mercurial-bugs at selenic.com
Wed Apr 30 16:32:06 CDT 2008


New submission from Greg Lindahl <lindahl at pbm.com>:

Right now "hg verify" against a repo on a read-only filesystem gets:

abort: could not lock repository /foo: Read-only file system

There are a couple of circumstances where you might want to do this.

First, if my disk is going wonky, I may boot Linux from DVD in rescue mode, and
poke around at my read-only disks. This is how I actually ran into it.

Second, some backup systems make snapshots which are read-only. It would be nice
to be able to verify repos in the past. (Of course if the snapshot is made at
the wrong time it won't be valid, but the only way to see if that happened is to
run verify...)

Bonus points: Does "hg clone" work with a source repo on a read only disk?
Should it?

----------
messages: 5987
nosy: lindahl
priority: wish
status: unread
title: hg verify should work on read-only filesystems

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



More information about the Mercurial-devel mailing list