This is a migrated thread and some comments may be shown as answers.

Revert Function

2 Answers 113 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mobile
Top achievements
Rank 1
Mobile asked on 14 Oct 2014, 05:51 AM
We are experiencing weird behaviour with the Revert function in Telerik AppBuilder.  We link our project to a Github repository.  When we click the revert button, it seems to blow away the last check in that we made to Github, not of just the file that we have selected, but of all files in the project, and for all users.

The way I would have expected Revert to work, is that it should undo any change you've made to a file and grab the latest checked in file from Github. Otherwise, how else do we undo changes we have made to a file?

Can you please investigate?  

2 Answers, 1 is accepted

Sort by
0
Mobile
Top achievements
Rank 1
answered on 16 Oct 2014, 05:05 AM
Okay, maybe I haven't worded this well.

How do I undo changes I have made to a file in AppBuilder and restore it to its last checked in state?
0
Martin Yankov
Telerik team
answered on 16 Oct 2014, 02:13 PM
Hello,

I have tested this on a sample project and I could not reproduce your issue. Note that when you click "Revert" all of the files that will be reverted are listed and furthermore it is stated in the window that "this operation discards all local changes to the files". This means that the changes will be reverted to your latest commit. Your latest commit might not be pushed to the repository. In other words, the "Revert" button reverts all local unstaged changes. It is only local and it cannot make changes to your repository.

Clicking the "Revert" button from the main toolbar will result in reverting all changes in all files. As I said before, all files that will be reverted are displayed before their changes are reverted. If you want to revert only singular files, you should right click on the file and select Version Control -> Revert on them.

That being said, we want to investigate what caused the behavior you are describing. If you could provide the name of the app project you are developing in the Telerik Platform, we can investigate this and provide an explanation of what exactly happened.

I am looking forward to your reply.

Regards,
Martin Yankov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Report a bug
Asked by
Mobile
Top achievements
Rank 1
Answers by
Mobile
Top achievements
Rank 1
Martin Yankov
Telerik team
Share this question
or