Hi Micheal and all,
Wed, 11 Jul 2012 19:08:51 -0400, Michael wrote:
> On Wed, Jul 11, 2012 at 5:57 PM, Markus <
mp.l...@free.fr> wrote:
>
> > Hello Kevin + *,
> >
> > thanks for your time to think about my "problems" ;-)
> >
> >
> > > On Jul 11, 2012, at 2:23 PM, Markus wrote:
> > >
> > > > Hello HGlers,
> > > >
...
> >
> > ... and the better alternative wrtt?
> >
>
> Compact diffs of binary files are, essentially by definition, difficult and
> application specific. Kevin's point is that Mercurial will do poorly as a
> backup tool for binary files.
>
If somebody can point us to a better binary differ, may be it could
be implemented in a future release of Mercurial.
Btw. binary diffing is not such bad, if the diff is empty.
> >
> >
> > > * It doesn't reconstruct file permissions, except for the execute bit.
> >
> > This is relatively simple to add.
> >
>
> Unlikely. You don't grasp the scope of this issue. Needless to say, it's
> not a feature likely to be added to Mercurial any time soon, and doing so
> would involve quite a lot of fairly severe changes, all of which would have
> to be backwards compatible.
>
I'm not asking to put file metadata management into Mercurial {I would
have posted it to the developer list then}.
When I said "relatively simple", I had in mind, doing it in a similar
way, metastore does it, but with something like the better algorithm
of e.g. "tar".
> >
> >
> > > * It deliberately doesn't descend into hg repos contained within the
> > managed tree, unless you add them as subrepos.
> > > * …and if you do add them as subrepos, you get a whole bunch of other
> > constraints along for the ride.
> > >
> > What I'm looking for is something equivalent to a switch, which tells
> > "hg" to treat every directory equally
...
>
> For anyone using Mercurial for its intended purpose (source control) this
> is undesirable.
I never, said, "my" switch should be the default for anybody else.
> Having a super-repository track both working directory
> contents and repository contents is a recipe for trouble down the line
> (and, the .hg repository consists of binary files, which, as mentioned,
> aren't ideal to track anyways).
>
hg already does it perfectly [as far as tested yet] as long as ".hg"
sub directories are named differently.
...
>
> And Kevin is telling you that no, your desire is both impossible
I don't think, he said this, and I don't think, it is.
> and a poor
> practice. Making the necessary changes to core Mercurial is both simply
> not going to happen, and trying to do it yourself will be dramatically more
> painful than you imagine.
>
If not already there in some form {that's, what I asked for,
originally}, it can not be such hard, just to switch off some special
behaviour of hg, in a situation, where this is requested.
> >
> >
> > > There are innumerable better incremental backup solutions available.
> > >
> > Ok -- and these better incremental backup solutions were? {You may
> > answer by pm, if you fear, this runs off topic of this list.}
> >
>
> Best bet is to use Google, asking us is like walking into a bakery and
> asking the baker to recommend a cut of meat.
>
Kevin already was such constructive to explain, what he meant.
I think, Google wouldn't have been able to do this.