Changeset View
Changeset View
Standalone View
Standalone View
vcs/interfaces/ibasicversioncontrol.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Line(s) | 54 | public: | |||
---|---|---|---|---|---|
76 | * when creating a new project | 76 | * when creating a new project | ||
77 | * | 77 | * | ||
78 | * @param parent the parent widget for the newly created widget | 78 | * @param parent the parent widget for the newly created widget | ||
79 | * @returns a widget to fetch metadata needed to import a project | 79 | * @returns a widget to fetch metadata needed to import a project | ||
80 | */ | 80 | */ | ||
81 | virtual VcsImportMetadataWidget* createImportMetadataWidget( QWidget* parent ) = 0; | 81 | virtual VcsImportMetadataWidget* createImportMetadataWidget( QWidget* parent ) = 0; | ||
82 | 82 | | |||
83 | /** | 83 | /** | ||
84 | * Checks whether the given @p remoteLocation is a valid remote repository URL. | ||||
mwolff: Checks whether the given @p remoteLocation is a valid remote repository URL.
<empty line>
... | |||||
85 | * | ||||
86 | * If the URL is a local filesystem path, the folder will be checked | ||||
87 | * if it contains proper repository content. | ||||
88 | * For non-local filesystem URLs only the URL properties will be checked, | ||||
89 | * no communication to any server is done. | ||||
90 | * | ||||
91 | * @param remoteLocation the URL used to access a remote repository | ||||
92 | * @returns true if the the given @p remoteLocation seems valid for this version control system | ||||
93 | */ | ||||
mwolff: de-inline | |||||
94 | virtual bool isValidRemoteRepositoryUrl(const QUrl& remoteLocation) = 0; | ||||
mwolff: what external plugins exist? make this = 0; from the start please | |||||
There is a mercurial in playgrounds, but okay, this should be easy enough to fix on updating to kdevplatform master, less effort than to maintain this TODO which will be forgotten anway. kossebau: There is a mercurial in playgrounds, but okay, this should be easy enough to fix on updating to… | |||||
95 | | ||||
96 | /** | ||||
84 | * These methods rely on a valid vcs-directory with vcs-metadata in it. | 97 | * These methods rely on a valid vcs-directory with vcs-metadata in it. | ||
85 | * | 98 | * | ||
86 | * revisions can contain a date in format parseable by QDate, a number, | 99 | * revisions can contain a date in format parseable by QDate, a number, | ||
87 | * or the special words HEAD and BASE (whose exact meaning depends on the | 100 | * or the special words HEAD and BASE (whose exact meaning depends on the | ||
88 | * used VCS system) | 101 | * used VCS system) | ||
89 | */ | 102 | */ | ||
90 | 103 | | |||
91 | /** | 104 | /** | ||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |
Checks whether the given @p remoteLocation is a valid remote repository URL.
<empty line>
...