20520

Forcing a view in clearcase to equal parent stream

Question:

I have a clearcase view which I have not updated in quite some time. It has some view private files and I am sure a lot of other things as well. Is there anyway I can delete all the content of the view and force clearcase to give me everything again?

When i try to build the project from my view (After a rebase) I get a lot of build errors, but if I build the project from the actual stream, I get no build errors at all, so I am guessing my view is a bit messed up, and as I have no files I need to keep there, i would very much like to just reset it.

EDIT: I am using a snapshot view

Answer1:

First of all, you need to make sure that that your config spec reflect the config of your UCM Stream.

If we are talking about a snapshot view, simply delete everything in it (except the hidden view.dat file), and type (at the root directory of your snapshot view):

cleartool setcs -stream

That will force the view to:

<ul><li>rewrite its config spec in accordance with its associated Stream</li> <li>launch an update of your snapshot view.</li> </ul>

Recommend

  • Rename a merged commit without losing that commit's parents
  • Modifying complex csv files in java
  • Old parking page info is mixed in with search results for a newly crawled site
  • Grunt cssmin / CleanCSS source map rebasing
  • doing database write after the response
  • What is the difference between origin/master and master?
  • Name hiding in constructor initialization list
  • Collect and run all junit tests in parallel with each test class in its own JVM (parallelization by
  • Equivalent of branch..merge for git-push
  • Mysql query to determine if the given datetime is included in the datetime interval
  • How to extract a number from a string [duplicate]
  • Unzip archive in .Net CORE 1.0
  • Double dispatch in Java example
  • Javascript focus remove text highlight
  • Streaming screenshots over WebRTC as a video stream from iOS
  • Does Apportable support to build library binary (.a/.so)?
  • Multiple producers single consumer locking schema
  • Salesforce Different WSDL files and when to use
  • Tell Git to stop prompting me for conflicts when none really exist?
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • How to revert to previous XCode version?
  • presentShareDialogWithParams posts to FB wall, but callback handler results say error
  • Time complexity of a program which involves multiple variables
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Play WS (2.2.1): post/put large request
  • Bad request using file_get_contents for PUT request in PHP
  • Allowing both email and username for authentication
  • Switching to Release Build causes runtime error in Web Reference
  • Checking free space on FTP server
  • Get one-time binding to work for ng-if
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • Where to put my custom functions in Wordpress?
  • Convert array of 8 bytes to signed long in C++
  • How do you troubleshoot character encoding problems?
  • QuartzCore.framework for Mono Develop
  • Numpy divide by zero. Why?
  • -fvisibility=hidden not passed by compiler for Debug builds
  • need help with bizarre java.net.HttpURLConnection behavior
  • Django query for large number of relationships
  • Net Present Value in Excel for Grouped Recurring CF