void AppendRelativePath ()
{
UrlBasedRepositoryEditor edit = currentEditor as UrlBasedRepositoryEditor;
if (edit == null)
return;
// RelativePath always is at least '/'.
if (edit.RelativePath == "/") {
entryFolder.Text = defaultPath;
return;
}
entryFolder.Text = defaultPath + edit.RelativePath.Replace ('/', System.IO.Path.DirectorySeparatorChar);
}
}