[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Quarks problem



Hi all:

Changing QuarksSVNRepository:*new will avoid the problem.
The patch is below, if there are no screams of dismay I will go ahead and commit it.

RJK

*new { | url, local |
if(svnpath.isNil,{
^this.newCopyArgs(url ? "https://quarks.svn.sourceforge.net/svnroot/quarks", local ?? {Quarks.local});
"svn is not installed, locally installed Quarks will work but cannot be updated.".postln
"svn may be downloaded from: \n\thttp://subversion.tigris.org/project_packages.html".postln
// Error("Path to SVN executable is not correct.  Set \n\tQuarkSVNRepository.svnpath = \"/full/path/to/svn\"\n in your startup ").throw;
});
if(File.exists(svnpath).not,{
Error("Path to SVN executable is not correct.  Set \n\tQuarkSVNRepository.svnpath = \"/full/path/to/svn\"\n in your startup ").throw;
});
^this.newCopyArgs(url ? "https://quarks.svn.sourceforge.net/svnroot/quarks", local ?? {Quarks.local})
}


*new { | url, local |
if(svnpath.isNil || File.exists(svnpath).not,{
Error("Path to SVN executable is not correct.  Set \n\tQuarkSVNRepository.svnpath = \"/full/path/to/svn\"\n in your startup ").throw;
});
^this.newCopyArgs(url ? "https://quarks.svn.sourceforge.net/svnroot/quarks", local ?? {Quarks.local})
}