All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Hudec <bulb@ucw.cz>
To: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Cc: Nguyen Thai Ngoc Duy <pclouds@gmail.com>,
	Paolo Teti <paolo.teti@gmail.com>,
	Git Mailing List <git@vger.kernel.org>,
	Matthias Lederhofer <matled@gmx.net>,
	Junio C Hamano <junkio@cox.net>
Subject: Re: [MinGW port] Unable to repack on Clearcase dynamic views
Date: Fri, 1 Jun 2007 20:11:37 +0200	[thread overview]
Message-ID: <20070601181137.GA3002@efreet.light.src> (raw)
In-Reply-To: <200705302028.15549.robin.rosenberg.lists@dewire.com>

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]

On Wed, May 30, 2007 at 20:28:15 +0200, Robin Rosenberg wrote:
> 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>

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-06-01 18:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30 14:42 [MinGW port] Unable to repack on Clearcase dynamic views Nguyen Thai Ngoc Duy
2007-05-30 15:11 ` Paolo Teti
2007-05-30 15:33   ` Nguyen Thai Ngoc Duy
2007-05-30 16:30     ` Paolo Teti
2007-05-30 18:28     ` Robin Rosenberg
2007-05-30 18:44       ` Johannes Schindelin
2007-05-30 19:08       ` Nguyen Thai Ngoc Duy
2007-05-30 19:28         ` Robin Rosenberg
2007-05-30 19:48           ` Nguyen Thai Ngoc Duy
2007-05-31  9:46       ` Paolo Teti
2007-05-31 18:51         ` Robin Rosenberg
2007-06-01 18:11       ` Jan Hudec [this message]
2007-05-30 15:28 ` Johannes Sixt
     [not found]   ` <fcaeb9bf0705300840w221c46c1y742388fc9e61c2fa@mail.gmail.com>
2007-05-30 15:43     ` Fwd: " Nguyen Thai Ngoc Duy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070601181137.GA3002@efreet.light.src \
    --to=bulb@ucw.cz \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=matled@gmx.net \
    --cc=paolo.teti@gmail.com \
    --cc=pclouds@gmail.com \
    --cc=robin.rosenberg.lists@dewire.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.