You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running prove in the Windows cmd.exe command prompt, the test suite fails to populate the Git repo, failing with the following error on git svn fetch - for each and every test:
Bad URL passed to RA layer: Illegal repository URL 'file://<windows_path>' at /usr/share/perl5/vendor_perl/Git/SVN.pm line 148.
Additionally, the test suite fails to even load bin/git-svn-diff, as the file type is not recognized by Windows, and therefore Perl is not used to invoke it. Together, these issues make it impossible to test git-svn-diff on native Windows. And that makes it difficult to say, assuredly, whether or not git-svn-diff supports native Windows (though, if the tests are any indication, it probably doesn't).
That said, Window users can use Git for Windows with the supplied git-bash executable. The tests both run and pass in that environment.
The text was updated successfully, but these errors were encountered:
Modify the testing infrastructure to better work with Git for Windows on
native Windows. Due to limitations/bugs in the current implementation
of Git.pm, git-svn-diff will not run in this environment. However, once
those issues are addressed upstream, these changes will make it possible
to validate git-svn-diff.
When it all comes together, users will be able to run git-svn-diff in a
native Windows environment (assuming they have Perl installed somewhere,
with a modern Git.pm). Batch or PowerShell scripts will be possible;
users can completely avoid Git Bash, if they so desire.
Issue: #39
While the commit fixes testing, the script itself is still failing because of upstream bugs. Once git-for-windows/git#1602 & git-for-windows/git#1603 are fixed, testing on native Windows can begin in earnest.
When running
prove
in the Windowscmd.exe
command prompt, the test suite fails to populate the Git repo, failing with the following error ongit svn fetch
- for each and every test:Additionally, the test suite fails to even load
bin/git-svn-diff
, as the file type is not recognized by Windows, and therefore Perl is not used to invoke it. Together, these issues make it impossible to test git-svn-diff on native Windows. And that makes it difficult to say, assuredly, whether or not git-svn-diff supports native Windows (though, if the tests are any indication, it probably doesn't).That said, Window users can use Git for Windows with the supplied git-bash executable. The tests both run and pass in that environment.
The text was updated successfully, but these errors were encountered: