Bug 316725 - Save system doesn't switch to the new branch if there are local changes
Summary: Save system doesn't switch to the new branch if there are local changes
Status: RESOLVED FIXED
Alias: None
Product: Plasma SDK
Classification: Plasma
Component: General (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-14 16:01 UTC by Giorgos Tsiapaliokas
Modified: 2013-03-30 09:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.0.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgos Tsiapaliokas 2013-03-14 16:01:55 UTC
1. make some changes(don't commit them)
2. change to some other branch
3. savesystem won't change to the new branch and it won't inform the user

Reproducible: Always
Comment 1 Giorgos Tsiapaliokas 2013-03-15 12:34:12 UTC
Git commit 4c87a2570093ad1e1c4087cd9eaa1161d3b97d38 by Giorgos Tsiapaliokas.
Committed on 15/03/2013 at 13:31.
Pushed by tsiapaliwkas into branch 'terietor/savesystem/APIv2'.

Create new branches and switch to them.
We will allow switching between branches only
if there are no uncommited changes, its too tricky
to allow the normal git checkout with its use cases.
Related: bug 316724

M  +1    -0    plasmate/savesystem/dvcsjob.cpp
M  +1    -0    plasmate/savesystem/gitrunner.cpp
M  +25   -20   plasmate/savesystem/timeline.cpp
M  +2    -0    plasmate/savesystem/timeline.h

http://commits.kde.org/plasmate/4c87a2570093ad1e1c4087cd9eaa1161d3b97d38