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