Skip to main content
1-Visitor
February 17, 2016
Solved

Is there a way to revert to a previous version of a member in Config Mgmnt?

  • February 17, 2016
  • 3 replies
  • 23084 views

My user wants to roll back a member to a previous version.  I know there is a way to do this in other tools.  Can PTC Integrity do this?

Thanks,

Ginny

    Best answer by KaelLizak

    Hi Ginny Merlino‌,

    CS158408 covers how to do this, in the way Thierry Dalon described.

    -Kael

    3 replies

    5-Regular Member
    February 17, 2016

    Hi Ginny,

    Possibly you may be interested in RFC # 955243, "Support "merge changes out" via the GUI".  You might want to open a Support case, with your particular scenario, or clarify your use-case, because:

    You may already be able to do what you're looking for, depending on what you specifically mean by "roll back a member to a previous version", and how you expect the revision numbers to look, with this "revert", and if this is only touching the working file, or not.

    ex.  If you have a "good" revision 1.6 and check in a "broken" revision 1.7, and you want to revert to 1.6 revision, you can do that.  You can either continue with a 1.8 revision, or you can "Update Member Revision" and have subsequent check-ins on that project member create 1.6.1.1, 1.6.1.2, etc.

    If you're trying to remove or "merge out" contents of specific revisions from your working file, you can do this via the CLI (but not the GUI, hence the RFC I mentioned - as most folks want to do this via the GUI).

    ex.

    si merge -r 1.7 -r 1.6 <working file>

    * this would remove or "merge out" the changes between 1.7 and 1.6

    1-Visitor
    February 17, 2016

    This is our situation.

    Check in one:  check in the file   v1.1

    Check in two:  Check in the member again   v1.2

    We want to revert back to v1.1.  Getting the next revision 1.3 after doing this would be okay.

    In your example, you said  "You can either continue with 1.8 revision"...this is what we would like to do.    How do you do this?

    Thanks!

    1-Visitor
    February 17, 2016

    Hi Ginny

    It is not possible to erase a revision.

    You can branch from a previous revision as Michael mentioned: simply check-out the older revision and check-in over it.

    If you don't want to branch then it is a manual process:

    you have to get the old revision (example check-out with no lock selecting the specific revision).

    backup/copy manually this file as file_rev1.1.

    Check-out the head revision. (1.2)

    copy the backup and overwrite the working file.

    Check-in: new revision 1.3 as same content as 1.2.

    For ASCII file you can revert by copy/pasting from the clipboard the content of the file (no need to backup the file here.)

    I don't know a better way.

    You could script this process.

    HTH

    Thierry

    1-Visitor
    February 17, 2016

    Thanks for the info!!  Much appreciated.

    KaelLizak16-PearlAnswer
    16-Pearl
    February 18, 2016

    Hi Ginny Merlino‌,

    CS158408 covers how to do this, in the way Thierry Dalon described.

    -Kael

    1-Visitor
    February 18, 2016

    Thanks,.Kael!!  This is exactly what I was looking for!!

    Have a good day, all!