Thread (13 messages) flat view 13 messages, 6 authors, 2016-06-15

Re: [MinGW port] Unable to repack on Clearcase dynamic views

From: Robin Rosenberg <hidden>
Date: 2016-06-15 22:43:13

onsdag 30 maj 2007 skrev Nguyen Thai Ngoc Duy:
On 5/30/07, Paolo Teti [off-list ref] wrote:
quoted
2007/5/30, Nguyen Thai Ngoc Duy [off-list ref]:
quoted
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?
Wasn't because it's better to make .git a link to a repository somewhere 
else? Just a guess.

ln -s /somewhere/repo/.git .git

Works fine for me (yes, in a clearcase dynamic view).

BTW, Does anyone have something like git-cvsexportcommit for clearcase?

-- robin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help