Re: [MinGW port] Unable to repack on Clearcase dynamic views
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- May 30, 2007, 15:33 UTC
- Message-ID
- <fcaeb9bf0705300833t6f0639ddx2f507996e48d838c@mail.gmail.com>
- In-Reply-To
- <34a7ae040705300811o22a7d9e9y1ca6e52c4bf23fcc@mail.gmail.com>
On 5/30/07, Paolo Teti <paolo.teti@gmail.com> wrote:
Show 11 quoted lines
> 2007/5/30, Nguyen Thai Ngoc Duy <pclouds@gmail.com>: > > Hi, > > > > On clearcase dynamic views (kind of virtual drives), "mv -f a b" won't > > work if "a" is read-only. Because git-repack.sh removes all write > > permission before moving packs, it fails on clearcase dynamic views. > > > > My approach is rather ugly. Does anyone have a better solution? > > I hate clearcase, but honestly I have used it forced by a customer.. > The real problem is why you need to do a repack in a CC view, but..
I don't like it either :) But you remind me the Matthias' workdir patchset. With that I can move out .git to a real drive/filesystem (which should also give better performance).
I think it's a valid use case. Anyone remember why Matthias' patchset was dropped? It was last mentioned in http://article.gmane.org/gmane.comp.version-control.git/43041
Junio, Matthias? May I help?
> > to move a file in a Clearcase view you have to use 'cleartool mv ...' > (or 'cleartool relocate') and not the UNIX mv command...
'cleartool mv' is used for clearcase-manages files. My git repository are private files.
> > ..and he directory where the element to be moved or renamed resides > must be checked out. >
-- Duy