Re:I'm going to slowly move on from Mercurial
by koenigdavidmj on Monday January 25, 2016 @01:40PM
(#10968961)
Hg worked on Windows from the beginning because it was written in Python. Python best practices make it pretty easy to avoid Windows-specific quirks (use os.path.join for directory munging, and don't use hard links). Git was a bit of C at first, which got wrapped in successive levels of bash and Perl, neither of which were particularly well supported on Windows 16 years ago.
[ Parent
| on HN ]
Re:I'm going to slowly move on from Mercurial
by masklinn on Monday January 25, 2016 @02:55PM
(#10969502)
> Git was a bit of C at first, which got wrapped in successive levels of bash and Perl, neither of which were particularly well supported on Windows 16 years ago.
Not that this has changed much, the CLI git has been renamed to "git on windows" but fundamentally you're still installing msys (2) to run git.
That issue is greatly mitigated by the existence of libgit2 though, it builds natively on windows (and just about everything else) so windows git (GUI) clients need not depend on CLI git.
Re:I'm going to slowly move on from Mercurial
by glandium on Monday January 25, 2016 @09:54PM
(#10971575)
> but fundamentally you're still installing msys (2) to run git.
You're installing msys to run git because (I guess) it was considered the git CLI would be useless without a decent shell. Would you see yourself use Git or Mercurial in cmd?
Git itself in Git for Windows, afaik, is not actually an msys program, and uses native win32 APIs.
Re:I'm going to slowly move on from Mercurial
by TylerE on Monday January 25, 2016 @11:18PM
(#10971796)
Ever heard of a thing called powershell?
Re:I'm going to slowly move on from Mercurial
by cyphar on Tuesday January 26, 2016 @02:23AM
(#10972286)
Is that like Bash for Kids?
Re:I'm going to slowly move on from Mercurial
by koenigdavidmj on Tuesday January 26, 2016 @04:48PM
(#10976390)
Maybe that's a poor description of a tool with full access to the entire class hierarchy of the .NET Framework. You could write a GUI program in it with WPF, although most people would take it as a kindness if you didn't.