Author Topic: Changes in a clearcase view make with vsdiff not visible to slickedit  (Read 4794 times)

pmsteinm

  • Senior Community Member
  • Posts: 107
  • Hero Points: 3
We just started using Clearcase.  I'm using 17.0.2.0 for x64 Linux.  When I save changes for a file in a Clearcase view using the command line vsdiff I don't see the "autoreload" prompt for that file if it is already open in Slickedit.  If I then save the Slickedit version I lose my changes from the diff.  I have to close and re-open the file to actually see the changes.  However, if I make changes with something like Nedit, Slickedit immediately prompts for reload (as expected).  So what is special about using the command line vsdiff to save changes?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2545
  • Hero Points: 141
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #1 on: September 27, 2012, 08:32:20 pm »
Are you diffing with the file on disk rather than the buffer ("File on disk" would be checked").  This is a little more difficult for us to catch because the focus remained in our application.

pmsteinm

  • Senior Community Member
  • Posts: 107
  • Hero Points: 3
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #2 on: September 27, 2012, 09:34:32 pm »
I'm diffing the file on disk, but not from the Slickedit directly.  I'm using the standalone "vsdiff" executable.  I never had issues doing this before we switched to clearcase, so I assume its something special about how clearcase files work.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2545
  • Hero Points: 141
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #3 on: September 28, 2012, 12:30:35 pm »
Can you tell if the date stamp on the file changes?

What happens if you use touch on the same file?

What happens with a local (non-Clear Case) file?

pmsteinm

  • Senior Community Member
  • Posts: 107
  • Hero Points: 3
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #4 on: September 28, 2012, 01:37:29 pm »
If I touch the file the date stamp changes and Slickedit prompts for re-load.  If I vsdiff that file with something else and manually make a change in the file and exit diff (saving when prompted) the date stamp also changes, but no auto-reload.

I then tried this outside of a clearcase file space, and the same problem occurs.  Since I used to vsdiff outside of slickedit frequently without problems this must be some new issue introduced with 17.0.2 or maybe v17 in general.

I then tried doing external vsdiff the "old way": vs +new -q -st 0 -mdihide -p diff -modal
This has the same problem.

pmsteinm

  • Senior Community Member
  • Posts: 107
  • Hero Points: 3
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #5 on: September 28, 2012, 01:49:26 pm »
I just tried v16 with a clean config dir and everything works fine.  I then tried v17 after renaming my config dir and it's still broken.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2545
  • Hero Points: 141
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #6 on: September 28, 2012, 01:57:32 pm »
Because of some optimizations that were added, I have to ask the following question: Did the contents of the file actually change?

pmsteinm

  • Senior Community Member
  • Posts: 107
  • Hero Points: 3
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #7 on: September 28, 2012, 03:11:50 pm »
Yes.  I've added spaces and changed lines of code (so not a source-diff issue).  And the same edits made with another editor trigger a reload in Slickedit.

pmsteinm

  • Senior Community Member
  • Posts: 107
  • Hero Points: 3
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #8 on: October 04, 2012, 05:20:02 pm »
Have you been to duplicate this issue?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2545
  • Hero Points: 141
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #9 on: October 04, 2012, 05:21:33 pm »
What happens if you shut off File>Load Options>Load> "Compare file contents before auto reload" ?

pmsteinm

  • Senior Community Member
  • Posts: 107
  • Hero Points: 3
Re: Changes in a clearcase view make with vsdiff not visible to slickedit
« Reply #10 on: October 05, 2012, 07:31:49 pm »
Whew.  That fixed it although I'm not sure how that matters with the vsdiff standalone exe.

Thanks.