• Resolved seekersharer

    (@seekersharer)


    I’m new to Revisr and finally got all the pieces working to push commits. This is on a live staging site – not local.

    We started testing reverts and it doesn’t seem to work.

    I made a change to the custom CSS file. Then committed and pushed to BitBucket. Confirmed in BitBucket it made it to the repository.

    I then reverted the commit from the website. But nothing changed on the website. The CSS file stayed the same.

    Is there a process that I might be missing?

    I checked some of the other support posts and see that you ask for the following. Everything seems to be working.

    Operating System Linux
    Exec() Enabled true
    Git Install Path /usr/bin/git
    Git Version git version 1.7.1
    MySQL Install Path /usr/bin/mysql
    File Permissions true
    Repository Path /var/www/vhosts/domainname.com/httpdocs.

    Let me know what I need to do.

    Thanks.

    https://wordpress.org/plugins/revisr/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Expanded Fronts

    (@expandedfronts)

    Hello,

    Can you please confirm if there were changes to the CSS file after you made the commit and before you made the revert? Reverting simply reverts to that commit, so if you make a commit and push it up to Bitbucket, and then immediately revert, there wouldn’t be any changes since that’s what you just pushed up.

    Thread Starter seekersharer

    (@seekersharer)

    Yes, there were changes. Just to be sure, here’s the process.

    1. Change CSS file. Commit and push.
    2. Add another change to CSS file. Commit and push.

    Then revert back to the first commit.

    In doing some underlying research, I discovered that the CSS did revert back to the first commit in the actual CSS file, it just didn’t do it in the child theme custom css input area in the dashboard. So, might not be an issue with your plugin.

    Have you experienced this before? Thanks.

    Plugin Author Expanded Fronts

    (@expandedfronts)

    Thanks, just making sure as sometimes “revert” is confused with “undo” in this context.

    So it looks like the reverts are working for files, and if the changes you made were in a dashboard page then they were likely saved to the database.

    So if you do a commit and click the “backup database” checkbox when committing, then made changes to the DB after that, if you selected the “Revert Files and Database” option it would both revert the changes to the CSS file and to any database tables you’re tracking (configurable on the settings page).

    Or did you try that and it wasn’t working? Let me know, thanks!

    Thread Starter seekersharer

    (@seekersharer)

    No, this was a revert. And it is clear they are working with the files. But I was not version controlling the database. Maybe that might be the reason. I will try that to see if it solves the problem and let you know.

    Plugin Author Expanded Fronts

    (@expandedfronts)

    Thanks! Marking this as resolved, but feel free to open up a new thread if you run into any further issues.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Revert Issues’ is closed to new replies.