77 TagName(
const std::string & tagRegex = R
"(\/tags\/([^\/]+))",
78 const std::string & branchRegex = R
"(\/branches\/([^\/]+))",
79 const std::string & trunkRegex = R
"(\/(trunk)\/)") const;
88 const std::string _keyword;
90 bool IsRemoteRepo(
const std::string & url)
const;
91 void RemoveRepoStart(std::string & path)
const;
Trivial class used to fetch an assumed SVN tag name from a repository path (in a Subversion keyword).
Definition DwmSvnTag.hh:53
std::string FileName() const
Returns the file name.
SvnTag(const std::string &keyword)
Construct from a Header keyword substitution or any custom keyword substition that includes P or u.
std::string TagName(const std::string &tagRegex=R"(\/tags\/([^\/]+))", const std::string &branchRegex=R"(\/branches\/([^\/]+))", const std::string &trunkRegex=R"(\/(trunk)\/)") const
Fetches the SVN tag name using a regular expression tagRegex.