threads / discuss / 13818

Problems trying setup git assistance is needed.

Subject: Problems trying setup git assistance is needed.

## tl;dr

2 messages between Jun 5, 2008 and Jun 6, 2008.

replies: 1people: 2as markdown or json

Boyd Lynn Gerber· Jun 5, 2008, 22:03 UTC · lore
Hello,

I have been going through the various documents and I can not seem to find what I need. Could someone either tell me what commands to use or where to read.

I have as follows

/master/cvs/ /master/git/ /master/hg/ /master/svn/

I download to the above the various source trees I need to work with. I have cron jobs to update the various source trees from the internet. I want to keep them clean of any and all local changes.

What I want to do is have a working directory as follows...

/working/cvs/ /working/git/ /working/hg/ /working/svn/

I want to bring into my /working/git/ the various source tress and have them all managed bit git. To meet the requirements for the various management systems, I have to have their directory with a copy. That is why I have all the working/...

I have the enviroment variables set as follows

GIT_DIR=/master/git GIT_WORK_TREE=/working/git

To start I have been trying to use git clone or the other tools to work, such that I have working copies of all the /master/.... in my own working git directory so I can compare changes between them.

git clone /master/git/git /working/git/git

worked and I am able to use the above to pull every thing for git, but the tools to convert cvs, hg and svn do not seem to work. What is the magic to get them all in git? I would prefer just to have the latest development and stable branches in my working directory. But I can fine to the git clone of git from the docs. Any assistance on getting everythin over to git or hints is greatly appericiated.

Thanks,

-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047

Robert Anderson· Jun 6, 2008, 06:51 UTC · re: Boyd Lynn Gerber · lore

Re: Problems trying setup git assistance is needed.

On Thu, Jun 5, 2008 at 3:03 PM, Boyd Lynn Gerber <gerberb@zenez.com> wrote:
> To meet the requirements for the various
> management systems, I have to have their directory with a copy.
I don't know what this is supposed to mean.
It also doesn't sound like you should be bothering any environment variables.
> git clone /master/git/git /working/git/git
>
> worked and I am able to use the above to pull every thing for git, but the
> tools to convert cvs, hg and svn do not seem to work.

"X doesn't seem to work" is not a good description of a problem. "I tried X and expected Y but got Z" is how you should describe your problems, with verbatim but concise cut/paste of X and Z input and output.

As an example, did you try:
git svn clone /master/svn /working/svn
i.e., the first line under "Basic Examples" in the git svn manual page?

Backing up a step, though, the point of what you're doing is unclear. Why bother with /master/svn, rather than just cloning the remote repo?

Bob

← back to recent threads