[RageUtil] Add detection of .hg to StripCvsAndSvn.
This commit is contained in:
@@ -11,6 +11,7 @@ StepMania 5.0 ???? ?? | 20120???
|
|||||||
2012/07/02
|
2012/07/02
|
||||||
----------
|
----------
|
||||||
* [ScreenHowToPlay] Run InitCommand on Characters if enabled. [AJ]
|
* [ScreenHowToPlay] Run InitCommand on Characters if enabled. [AJ]
|
||||||
|
* [RageUtil] Add detection of ".hg" to StripCvsAndSvn. [AJ]
|
||||||
|
|
||||||
2012/06/27
|
2012/06/27
|
||||||
----------
|
----------
|
||||||
|
|||||||
+4
-1
@@ -1233,9 +1233,12 @@ RString URLEncode( const RString &sStr )
|
|||||||
return sOutput;
|
return sOutput;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// remove various version control-related files
|
||||||
static bool CVSOrSVN( const RString& s )
|
static bool CVSOrSVN( const RString& s )
|
||||||
{
|
{
|
||||||
return s.Right(3).EqualsNoCase("CVS") || s.Right(4) == ".svn";
|
return s.Right(3).EqualsNoCase("CVS") ||
|
||||||
|
s.Right(4) == ".svn" ||
|
||||||
|
s.Right(3).EqualsNoCase(".hg");
|
||||||
}
|
}
|
||||||
|
|
||||||
void StripCvsAndSvn( vector<RString> &vs )
|
void StripCvsAndSvn( vector<RString> &vs )
|
||||||
|
|||||||
Reference in New Issue
Block a user