MCPcopy Create free account
hub / github.com/c3d/tao3D / renRemote

Method renRemote

tao/git_backend.cpp:1173–1186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1171
1172
1173bool GitRepository::renRemote(QString oldName, QString newName)
1174// ----------------------------------------------------------------------------
1175// Rename a remote
1176// ----------------------------------------------------------------------------
1177{
1178 Q_ASSERT(!noLocal);
1179 if(noLocal)
1180 return false;
1181
1182 waitForAsyncProcessCompletion();
1183 GitProcess cmd(command(), QStringList("remote") << "rename"
1184 << oldName << newName, path);
1185 return cmd.done(&errors);
1186}
1187
1188
1189QList<GitRepository::Commit> GitRepository::history(QString branch, int max)

Callers 1

renameRemoteMethod · 0.80

Calls 1

doneMethod · 0.45

Tested by

no test coverage detected