Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/svn/svn.py
| Show All 37 Lines | |||||
| # When log message contains empty data | # When log message contains empty data | ||||
| DEFAULT_AUTHOR_MESSAGE = "" | DEFAULT_AUTHOR_MESSAGE = "" | ||||
| logger = logging.getLogger(__name__) | logger = logging.getLogger(__name__) | ||||
| def quote_svn_url(url: str) -> str: | def quote_svn_url(url: str) -> str: | ||||
| return url.replace(" ", "%20") | return url.replace(" ", "%20").replace("#", "%23") | ||||
| class SvnRepo: | class SvnRepo: | ||||
| """Svn repository representation. | """Svn repository representation. | ||||
| Args: | Args: | ||||
| remote_url: Remove svn repository url | remote_url: Remove svn repository url | ||||
| origin_url: Associated origin identifier | origin_url: Associated origin identifier | ||||
| ▲ Show 20 Lines • Show All 557 Lines • Show Last 20 Lines | |||||