mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Allow registration of files with svn when parents directory is not yet registered.
This commit is contained in:
parent
750af39139
commit
77cdef1fe0
@ -198,8 +198,6 @@ bool LyXVC::registrer()
|
||||
}
|
||||
if (response.empty())
|
||||
response = _("(no initial description)");
|
||||
// FIXME This will fail with svn if the current directory has not
|
||||
// itself been added.
|
||||
vcs_->registrer(to_utf8(response));
|
||||
return true;
|
||||
}
|
||||
|
@ -1251,7 +1251,7 @@ bool SVN::retrieve(FileName const & file)
|
||||
|
||||
void SVN::registrer(string const & /*msg*/)
|
||||
{
|
||||
doVCCommand("svn add -q " + quoteName(onlyFileName(owner_->absFileName())),
|
||||
doVCCommand("svn add -q --parents " + quoteName(onlyFileName(owner_->absFileName())),
|
||||
FileName(owner_->filePath()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user