[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] tla-short paths
From: |
chth |
Subject: |
Re: [Gnu-arch-users] tla-short paths |
Date: |
Sun, 7 Nov 2004 01:16:45 +0100 |
> address@hidden wrote:
> >>I didn't see a flag for tla get --short-path, but it would seem that
> >>the basic framework exists, and it might just be a matter of
> >extending>it to more cases.
> >
> >
> > tla should be able to automatically detect which kind of paths is
> > used by checking if the pathname contains '--', 'get' does not need
> > that option.
> >
> > Christian
>
> Well, in Ron's work, whether the {arch} directory is short is a
> tree-local option. Meaning that whenever he commits he fixes up the
> tar header so that short paths are translated to their full path. This
> way the archive format doesn't change, just the local directory.
>
> Because of this, when you do a "get", or pretty much any other command
>
> that would pull from a remote archive, you need a way to specify which
>
> way the local tree should be. I personally think there should be a
> per-user setting (say .arch-params/=short-paths).
>
> What you say is true if the archive format itself is modified. This is
>
> more of a workaround, allowing win32 users access to any archives that
>
> currently exist.
>
> I do agree that if we start to change the archive format, then it
> could be automatically detected.
>
> But until then, we need a way to access all of the current archives
> that exist.
I didn't looked at Rons work, but it looks very promising. My mail
referred to a solution we talked about on IRC some time ago and Tom
agreed on the way I pointed out. I was just surprised that anyone
already worked in that area. The idea to shorten the pathnames only
localy is nice too.
Christian