Skip to content

Makefile: add support for git svn clones - #1

Closed
ghost wants to merge 1 commit into
trunkfrom
unknown repository
Closed

ghost wants to merge 1 commit into
trunkfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jan 19, 2015

Copy link
Copy Markdown

git has an interface for cloning SVN repositories into git which
some users might decide to use. For those users' surprise, the
repository will always fail to build on svnonly target and it will
exit early.

The problem is simple enough to fix by just checking if a .git
directory exists in top_builddir and, if so, call git svn info insstead
of svn info.

Note that currently, this only works with Linux (and possibly Mac)
because I don't have any means for writing a similar patch for
Windows makefiles.

Signed-off-by: Felipe Balbi [email protected]

git has an interface for cloning SVN repositories into git which
some users might decide to use. For those users' surprise, the
repository will always fail to build on svnonly target and it will
exit early.

The problem is simple enough to fix by just checking if a .git
directory exists in top_builddir and, if so, call git svn info insstead
of svn info.

Signed-off-by: Felipe Balbi <[email protected]>
@wch

wch commented Jan 19, 2015

Copy link
Copy Markdown
Owner

This is a read-only mirror of the R svn repository, and the R-Core members don't use use pull requests; you'll have to go through other channels to get them to take your patch.

@wch wch closed this Jan 19, 2015
@wch

wch commented Jan 19, 2015

Copy link
Copy Markdown
Owner

I just saw the related on the r-devel list. As @kevinushey noted, the build instructions in the wiki have a workaround; if you have a cleaner, simpler way to do it, I'd be happy to put it in there.

wch pushed a commit that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants