git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
JHJan Hudec <bulb@ucw.cz>
Date
Jun 1, 2007, 18:11 UTC
Message-ID
<20070601181137.GA3002@efreet.light.src>
In-Reply-To
<200705302028.15549.robin.rosenberg.lists@dewire.com>
On Wed, May 30, 2007 at 20:28:15 +0200, Robin Rosenberg wrote:
Show 6 quoted lines
> 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).

It works for me too. It requires cygwin version of git though, since windows don't have native symlinks.

> BTW, Does anyone have something like git-cvsexportcommit for clearcase?
No, but it should not be too hard to create.

If you want to quickly import something, you can try starting with something like:

diff clearcase-view git-checkout > p lsdiff p | xargs -d '\n' cleartool checkout patch -p $n < p

You'll have to sort out which directories to run which command in and how many components to strip with -p in the patch. It also does not handle adding and removing.

-- 
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
Previous: Robin RosenbergNext: Johannes Sixt
Message 12 of 14 in “[MinGW port] Unable to repack on Clearcase dynamic views”
  1. Nguyen Thai Ngoc DuyMay 30, 2007
  2. Paolo TetiMay 30, 2007
  3. Nguyen Thai Ngoc DuyMay 30, 2007
  4. Paolo TetiMay 30, 2007
  5. Robin RosenbergMay 30, 2007
  6. Johannes SchindelinMay 30, 2007
  7. Nguyen Thai Ngoc DuyMay 30, 2007
  8. Robin RosenbergMay 30, 2007
  9. Nguyen Thai Ngoc DuyMay 30, 2007
  10. Paolo TetiMay 31, 2007
  11. Robin RosenbergMay 31, 2007
  12. Jan HudecJun 1, 2007
  13. Johannes SixtMay 30, 2007
  14. Fwd: [MinGW port] Unable to repack on Clearcase dynamic viewsNguyen Thai Ngoc Duy, May 30, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.