Revert Function

Thread is closed for posting
3 posts, 0 answers
  1. Mobile
    Mobile avatar
    6 posts
    Member since:
    Sep 2013

    Posted 14 Oct 2014 Link to this post

    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. Mobile
    Mobile avatar
    6 posts
    Member since:
    Sep 2013

    Posted 16 Oct 2014 Link to this post

    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?
  3. Martin Yankov
    Martin Yankov avatar
    177 posts

    Posted 16 Oct 2014 Link to this post


    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.

    Martin Yankov

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

Back to Top