[darcs-users] can we remove --no-pristine-tree?
Dan Pascu
dan at ag-projects.com
Wed Jan 7 08:41:11 UTC 2009
On Wednesday 07 January 2009, Trent W. Buck wrote:
> On Tue, Jan 06, 2009 at 09:05:13PM +0100, Juliusz Chroboczek wrote:
> > > Manually deleting the pristine directory, and then performing
> > > "darcs repair" before using any darcs command, provides almost the
> > > same experience.
> >
> > You're kidding, I hope?
> >
> > I have a few dozen repositories that I only ever push to (backups,
> > web-accessible copies, etc.). You seriously expect me to go through
> > all of the above every time I push?
>
> Surely this could be automated with a post-hook in
> _darcs/prefs/defaults ?
Indeed. Why use a simple command line switch to do the job properly, when
you can script your way to kingdom come? Not to mention that darcs repair
will have to apply all patches to reconstruct the tree and with a long
history, every push/pull will be a long waiting for repair to reconstruct
a deliberately damaged repository.
IMO, it's better to state that some feature is not supported, than to
suggest such hackish workarounds that only damage the darcs image in the
eye of its users. Or simply support the feature is there is enough demand
for it.
--
Dan
More information about the darcs-users
mailing list