darcs

Issue 1529 mechanism to detect partial repositories

Title mechanism to detect partial repositories
Priority feature Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur
Assigned To
Topics Partial

Created on 2009-08-16.22:29:39 by kowey, last changed 2010-03-24.11:21:21 by kowey.

Messages
msg8189 (view) Author: kowey Date: 2009-08-16.22:29:35
I realise that partial repositories are going away, but I wonder if it would be
useful nonetheless to detect when a repository is partial.

One silly option might be to count the contents of _darcs/patches; if there are
fewer files in there than expected patches, then we know it's partial.  (On the
other hand, we don't necessarily know if it's full if there are >= files, I
don't think, but maybe this is good enough).

The problem is that this does no good for remote repositories.  But what if we
snuck in a feature into darcs apply that does this counting and creates a file
like _darcs/partial to signal to other darcs that this repo is partial?

This sort of mechanism could be handy for issue145 but perhaps looking more into
the future, it could be used as a means to encourage people to upgrade to hashed
repositories?

I'm marking this as need-action because I think it requires commentary from
darcs-users, so somebody should seek that commentary and update this bug on what
to do next.
msg10488 (view) Author: kowey Date: 2010-03-24.11:21:19
I guess we have to be realistic that we're just going to let partial
repositories wither away and not invest any attention to them (not even
this minimal bit).
History
Date User Action Args
2009-08-16 22:29:39koweycreate
2009-08-25 18:15:18adminsetnosy: + darcs-devel, - simon
2009-08-27 14:24:53adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin
2010-03-24 11:21:21koweysetstatus: needs-reproduction -> wont-fix
messages: + msg10488