]> git.lyx.org Git - features.git/commitdiff
invalidate vcs data if user cancelled the registrer operation, otherwise the registre...
authorStephan Witt <switt@lyx.org>
Sun, 24 Oct 2010 13:26:00 +0000 (13:26 +0000)
committerStephan Witt <switt@lyx.org>
Sun, 24 Oct 2010 13:26:00 +0000 (13:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35798 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXVC.cpp

index 1306a1d87cf6f2c21ac1b90c75d6f924e05e48ce..922ecffe9fcd2001350a4c95d698584eaaacfa6c 100644 (file)
@@ -149,6 +149,7 @@ bool LyXVC::registrer()
                        _("(no initial description)"));
        if (!ok) {
                LYXERR(Debug::LYXVC, "LyXVC: user cancelled");
+               vcs.reset(0);
                return false;
        }
        if (response.empty())