Git-windows and git-svn?

15 messages, 6 authors, 2016-06-15 · open the first message on its own page

Git-windows and git-svn?

From: Abdelrazak Younes <hidden>
Date: 2016-06-15 22:43:46

Hello,

I would like to try git on Windows together with git-svn, I downloaded 
  Git-1.5.3-preview20071027.exe and tried:

yns@xxx /d/devel/lyx/git/trunk
$ git-svn init svn://svn.lyx.org/lyx/lyx-devel/trunk
Useless use of a constant in void context at /bin/git-svn line 848.
Can't locate Digest/MD5.pm in @INC (@INC contains: /lib 
/usr/lib/perl5/5.6.1/msy
s /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/msys 
/usr/lib/perl5/site_p
erl/5.6.1 /usr/lib/perl5/site_perl .) at /bin/git-svn line 2420.
BEGIN failed--compilation aborted at /bin/git-svn line 2420.

Is there something I am doing wrong?

Thanks in advance for any help,
Abdel.

Re: Git-windows and git-svn?

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:46

Hi,

On Fri, 2 Nov 2007, Abdelrazak Younes wrote:
I would like to try git on Windows together with git-svn, I downloaded 
Git-1.5.3-preview20071027.exe and tried:

yns@xxx /d/devel/lyx/git/trunk
$ git-svn init svn://svn.lyx.org/lyx/lyx-devel/trunk
Useless use of a constant in void context at /bin/git-svn line 848.
Can't locate Digest/MD5.pm in @INC (@INC contains: /lib
/usr/lib/perl5/5.6.1/msy
s /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/msys
/usr/lib/perl5/site_p
erl/5.6.1 /usr/lib/perl5/site_perl .) at /bin/git-svn line 2420.
BEGIN failed--compilation aborted at /bin/git-svn line 2420.

Is there something I am doing wrong?
The proper mailinglist for this is msysgit@googlegroups.com.  And right 
next to the "Downloads" tab you clicked on to download the installer, 
there is an "Issues" tab.  There you'll find that we're working on it.

Hth,
Dscho

Re: Git-windows and git-svn?

From: Abdelrazak Younes <hidden>
Date: 2016-06-15 22:43:46

Johannes Schindelin wrote:
quoted
Is there something I am doing wrong?
The proper mailinglist for this is msysgit@googlegroups.com.
Sorry, I'll move to that. Any chance you create a gmane news interface?
And right 
next to the "Downloads" tab you clicked on to download the installer, 
there is an "Issues" tab.  There you'll find that we're working on it.
Oups, sorry again, haven't see this tab.

Thanks and sorry for the noise,
Abdel.

Re: Git-windows and git-svn?

From: Pascal Obry <hidden>
Date: 2016-06-15 22:43:46

Abdelrazak,
I would like to try git on Windows together with git-svn, I downloaded
 Git-1.5.3-preview20071027.exe and tried:
The best Git port on Windows is the Cygwin one. I'm using git-svn
without trouble.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

Re: Git-windows and git-svn?

From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:43:46

On Nov 3, 2007, at 12:00 AM, Pascal Obry wrote:
Abdelrazak,
quoted
I would like to try git on Windows together with git-svn, I  
downloaded
 Git-1.5.3-preview20071027.exe and tried:
The best Git port on Windows is the Cygwin one. I'm using git-svn
without trouble.
But you _MUST NOT_ use Cygwin's textmode.

	Steffen

Re: Git-windows and git-svn?

From: Pascal Obry <hidden>
Date: 2016-06-15 22:43:46

Steffen Prohaska a écrit :
quoted
The best Git port on Windows is the Cygwin one. I'm using git-svn
without trouble.
But you _MUST NOT_ use Cygwin's textmode.
Yes, of course! Who would use Cygwin's textmode :) ?

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

Re: Git-windows and git-svn?

From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:43:46

On Nov 3, 2007, at 8:19 AM, Pascal Obry wrote:
Steffen Prohaska a écrit :
quoted
quoted
The best Git port on Windows is the Cygwin one. I'm using git-svn
without trouble.
But you _MUST NOT_ use Cygwin's textmode.
Yes, of course! Who would use Cygwin's textmode :) ?
People who I'm working with. Cygwin's converts CVS working
copies to Windows line endings if you use textmode. And this
is what they want.

And as long as textmode is an option in Cygwin's installer
user will select this option. And after it was removed from
the installer it will still be there for a couple of years,
until all existing installations finally disappear.

Because of this situation, I started to work on msysgit.
I need git without Cygwin.

	Steffen

Re: Git-windows and git-svn?

From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:43:46

On Nov 3, 2007, at 8:57 AM, Steffen Prohaska wrote:
On Nov 3, 2007, at 8:19 AM, Pascal Obry wrote:
quoted
Steffen Prohaska a écrit :
quoted
quoted
The best Git port on Windows is the Cygwin one. I'm using git-svn
without trouble.
But you _MUST NOT_ use Cygwin's textmode.
Yes, of course! Who would use Cygwin's textmode :) ?
People who I'm working with. Cygwin's converts CVS working
copies to Windows line endings if you use textmode. And this
is what they want.

And as long as textmode is an option in Cygwin's installer
user will select this option. And after it was removed from
the installer it will still be there for a couple of years,
until all existing installations finally disappear.

Because of this situation, I started to work on msysgit.
I need git without Cygwin.
And btw, no one told me that git is only working in Cygwin if
Cygwin is configured the right way. So I started to advertise
git on Cygwin and people came back to me and told me:

"What crappy tool are you suggesting to use. It's not
even capable of cloning it's own development repository.
I'll not use that tool. Don't steal my time."

	Steffen

Re: Git-windows and git-svn?

From: Pascal Obry <hidden>
Date: 2016-06-15 22:43:46

Steffen Prohaska a écrit :
"What crappy tool are you suggesting to use. It's not
even capable of cloning it's own development repository.
I'll not use that tool. Don't steal my time."
Well it's not because people don't understand how Cygwin is working that
it is to be taken for granted that Cygwin/Git is crap! As I said git svn
is only working on Cywgin AFAIK. I'm using Cygwin/Git on many
repositories without problem. So experience may vary :)

Cygwin is by far the best toolset for Windows developers who don't want
to mess with plain (read very limited) Windows environment.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

Re: Git-windows and git-svn?

From: Abdelrazak Younes <hidden>
Date: 2016-06-15 22:43:46

Pascal Obry wrote:
Steffen Prohaska a écrit :
quoted
"What crappy tool are you suggesting to use. It's not
even capable of cloning it's own development repository.
I'll not use that tool. Don't steal my time."
Well it's not because people don't understand how Cygwin is working that
it is to be taken for granted that Cygwin/Git is crap! As I said git svn
is only working on Cywgin AFAIK. I'm using Cygwin/Git on many
repositories without problem. So experience may vary :)
OK, thanks for the info.
Cygwin is by far the best toolset for Windows developers who don't want
to mess with plain (read very limited) Windows environment.
Well some people (including unix people) prefer GUI and context menus 
instead of command-line. I must say that I am quite used to TortoiseSVN 
and I like it. Never had to do anything at the command-line in order to 
use svn. Hum, I am not sure this is the right forum to say this... :-)

Abdel.

Re: Git-windows and git-svn?

From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:43:46

On Nov 3, 2007, at 9:23 AM, Pascal Obry wrote:
Steffen Prohaska a écrit :
quoted
"What crappy tool are you suggesting to use. It's not
even capable of cloning it's own development repository.
I'll not use that tool. Don't steal my time."
Well it's not because people don't understand how Cygwin is working  
that
it is to be taken for granted that Cygwin/Git is crap! As I said  
git svn
is only working on Cywgin AFAIK. I'm using Cygwin/Git on many
repositories without problem. So experience may vary :)
Right. The experience should be good if you use binmode.

But never use textmode. You'll not get an error right away.
At first git seems to work. But later it reports weird errors.
The experience is really bad. Don't do that.

And if you advertise git on Cygwin please tell people to
avoid textmode. It is an important detail.

	Steffen

Re: Git-windows and git-svn?

From: Peter Karlsson <hidden>
Date: 2016-06-15 22:43:47

Steffen Prohaska:
Right. The experience should be good if you use binmode.
Shouldn't it be possible to fix this by sprinkling the appropriate
number of "b"s in the parameters to fopen()? Or is it more complicated
than that?
But never use textmode. You'll not get an error right away. At first
git seems to work. But later it reports weird errors. The experience
is really bad. Don't do that.
I got errors almost right away when trying that (I need text mode to
interface with some other programs), so Cygwin-git is a no-go for me at
the moment. Of course, mixing msys-Git with Cygwin and ActiveState Perl
is also an interesting experience, to say the least :-)

-- 
\\// Peter - http://www.softwolves.pp.se/

Re: Git-windows and git-svn?

From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:43:47

On Nov 6, 2007, at 9:02 AM, Peter Karlsson wrote:
Steffen Prohaska:
quoted
Right. The experience should be good if you use binmode.
Shouldn't it be possible to fix this by sprinkling the appropriate
number of "b"s in the parameters to fopen()? Or is it more complicated
than that?
It's more complicated. I tried. But others convinced me that
it's harder than you think. The interfacing with other programs
through shell scripts is one major problem. Another difficulty
is that Cygwin's textmode is deprecated. So, the Cygwin guys
won't help. Search the list archives for more details.

quoted
But never use textmode. You'll not get an error right away. At first
git seems to work. But later it reports weird errors. The experience
is really bad. Don't do that.
I got errors almost right away when trying that (I need text mode to
interface with some other programs), so Cygwin-git is a no-go for  
me at
the moment.
Same for me. You're welcome to join the msysgit effort ;)

But do not expect too much from my side. For me the only
priority is to get the core git commands running. Everything
that is needed to support a git-only workflow has top priority.
Everything else has lowest priority. I'll refuse to put work
into the scripts interfacing with other SCMs and I'll refuse
to work on things needed to setup a git 'server', like git-shell.

Of course, mixing msys-Git with Cygwin and ActiveState Perl
is also an interesting experience, to say the least :-)
I can imagine that. If you already have some new insights how
to handle such a situration it would be interesting if you
could share some of them.

	Steffen

Re: Git-windows and git-svn?

From: Pascal Obry <hidden>
Date: 2016-06-15 22:43:47

Peter Karlsson a écrit :
I got errors almost right away when trying that (I need text mode to
interface with some other programs), so Cygwin-git is a no-go for me at
Won't it be possible for you to have a specific mount point using
textmode and one with binmode ? This should allow you to have the best
of both world. Note that I've never done that so I don't know if it is
working fine.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

Re: Git-windows and git-svn?

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

tisdag 06 november 2007 skrev Pascal Obry:
Peter Karlsson a écrit :
quoted
I got errors almost right away when trying that (I need text mode to
interface with some other programs), so Cygwin-git is a no-go for me at
Won't it be possible for you to have a specific mount point using
textmode and one with binmode ? This should allow you to have the best
of both world. Note that I've never done that so I don't know if it is
working fine.
I do that. It works fine. I've set up such paths so I have /cygdrive/c for textmode and
/binmode/c for binary mode and some other extra binary paths for convenience.

-- 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