[WebSVN] Compare with Previous fails in latest trunk revision

View: New views
2 Messages — Rating Filter:   Alert me  

[WebSVN] Compare with Previous fails in latest trunk revision

by webpost :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I checked out the latest revision of websvn's trunk (revision: 946).

Now the diff.php fails to diff couple of shtml files in my svn repo.  

The URL:
https://<hostname>/websvn/diff.php?repname=reweb2.0&path=%2FFAQ.shtml&

The error:
output left in -.

SVN version: 1.4.4

I am able to diff the same .shtml file in websvn 2.2.1 just fine.

I am attaching the screen-shot and the .shtml file:

Group Title

Page Title

General

How to get support from the NMTGRE team?
You can submit your questions or requests by sending mail to nmtgre-req@...
Where can I check updates regarding my support request?
Using this URL you can list all your open cases or find a specific case by entering the case number.

ClearCase

When removing my ClearCase view, I get the following error: Clearcase object not found. Meanwhile, I can list the view.
Stop Clearcase services (albd) and then run fix_prot utility When fix_prot completes successfully, start the albd service and then run the "cleartool rmview -tag view-tag" command.
When I add file to source control on Windows, why does the file name consists of only lower-case characters?
Go to Clearcase Home Base -< Administration -< Control Panel -< MVFS -< and check Case Insensitive MVFS and Case Preserving. Click Apply and reboot your PC.
I want to make all my checkouts unreserved by default. How can I achieve this?
UNIX:
Create a file ".clearcase_profile" in your home dir.
Edit that file and add a single line as follows:
checkout -unreserved
After this is done, whenever you run the command "cleartool co" it will be checked out unreserved.
WINDOWS:
Create the same file under say c:\
Add a USER environment variable called CLEARCASE_PROFILE= c:\.clearcase_profile.
Now your checkouts from CLI will be unreserved.
To implement this in GUI, do the following:
Click Start -< All Programs -< Rational Software -< Rational ClearCase -< Home Base -< Options -< User Preferences. Uncheck the "Reserved" option and click OK.
I am getting Blue Screen Of Death on Windows while I am working on my view checking in and out. How do I resolve this issue?
The problem is caused by any encryption of paging files from credant that causes a conflict once your working on your view checking in/out. This is known to result in a blue screen stop error (aka: BSOD, Blue Screen Of Death).
DO NOT decrypt all files and uninstall.
ClearCase patch device driver, mvfs50.sys, needs to be placed in one the below directories.
C:\windows\system32\drivers Or C:\winnt\system32\drivers
Change the name of the one that was already in there to mvfs50.sys.old
Depending on which image map they have they will have either the windows or winnt dir. This file fixes the Credant BSOD issues. After putting this file there, the user needs to reboot.
The Details is here
To obtain the mvfs50.sys file please download the attached mvfs50.sys.
How to delete an element?
Removing an element from the vob completely without trace is done by "cleartool rmelem" command,which can be executed only by SCM or RE team.
However, you can use "cleartool rmname" command.
"cleartool rmname" removes the name of the specified element from the directory in which it is contained.
Similar to adding a new element under ClearCase control, you must first check-out the directory containing the element to be removed, do the "cleartool rmname" of the element, and then check-in the new version of the directory.

Here is an example:
cleartool co thedirectory
cleartool rmname anelement
cleartool ci thedirectory
After this sequence, "anelement" is no longer listed in subsequent versions of "thedirectory". It is, however, still listed in previous versions of the directory. If, at a later date you want to re-add "anelement" to a new version of "thedirectory" (or any other directory), you can do so easily.
IMPORTANT: When you remove the element this way and you try to readd it in future versions of "thedirectory", mincc triggers will not allow you to do so.
Instead, you will be given a command to create a softlink to the already created "anelement"
How will I know the text_mode of my view (related to ^M issue)?
You can find out the text_mode by checking your view properties with this command
Example: In the example above, the text_mode is "unix" or transparent.
unix text_mode means that file element line-termination mode is preserved as is by ClearCase when viewed in the view and written to the vob.
Unfortunately, once the view is created you can not change the text mode property of the view, you might want to remove the view and create it again.
Which text mode should I use while creating views?
The general rule of thumb when creating
Windows views: use text_mode = insert_cr
Unix views: use text_mode = unix

By default,"createview" FOCUS tool will create the views with the above configuration for text mode if none is specified in project setup by RE team. Please ask RE team for information.
How to forcibly remove a view?
The wrapper to remove a view is rmview
Usage: rmview [-view | -all ] [ -p ]
[ -me | -user ] [-age ] [-d ]
[ -force ] [-h]
Even after using the commands , if the view is not removed follow the below steps.
To forcibly remove a view that is corrupted you list the view properties and remove and clean it up:
How do I remove checked out reference from the VOB or uncheck out file if the user has left CISCO?
In your view you can first find out which view the file have been checked out then forcibly remove the view.
In the example above, you get the view-tag "thaon__cuom2_2_sj.nt". Next, please refer to answer to question "how to forcibly remove a view" to remove this view and remove the checked out reference to the file.
What is the recommended way for doing bulk checkins (or) adding new files in bulk to source control?
The command for doing bulk checkins/adding new files in bulk is clearfsimport.
clearfsimport: Source-name and target-VOB options needed.
Usage: clearfsimport [-follow] [-recurse] [-rmname]
[-mklabel label] [-nsetevent]
[-identical] [-master] [-comment comment]
[-unco] [-preview] source-name ... target-VOB-directory
Ex: clearfsimport -recurse -nsetevent -preview <source> <target_path_in_VOB>
It's recommended to use -preview first and then remove "-preview" after everything looks good in the output .
How do I unreserve a file which was checked out reserved by a different user.
Use FOCUS unreserve command.
unreserve -files comma-seperated-list [-stream ... | -branch ...]
The unreserve command will change the file to unreserved allowing you to check it out as reserved.
It will also mail the person that had the file checked out notifying him about the change, CCing you.

FOCUS UCM - General

How do I find a stream?
Use Focus lsstream command to list all streams. Type lsstream -h for all options.
During checkout, I'm getting an error "cleartool: Error: Unable to perform operation "make branch" in replica ..."
This means that the stream you are checking out on is mastered in a different site. You will need to create a local substream and use Focus deliver to merge your changes to the remote stream.
Can I make changes to other vobs (like enm_utility) from my project?
Currently no, these VOBs have not been migrated to UCM.

FOCUS UCM - createview

How can I avoid automatically processing the load rules when I create a snapshot view. I want to have my own load rules.The default project load rules loads too many files which takes a lot of time.
Run the createview command adding the "-nload" option also.This will prevent the load rules from being processed at view creation time.

FOCUS UCM - deliver

Do I really have to use deliver from the command line?
Only for remote deliver. If you are delivering to a stream that is mastered in a remote site, you must use Focus deliver from CLI or from the Eclipse plug-in.
What is the difference between -preview and -status?
-preview will list the activities which need to be delivered.
-status lists if a deliver is currently in progress or not.
What is the "rebase_stream-name" activity that's listed for deliver?
Each rebase creates such an activity. This is normal ClearCase UCM behavior, and delivering this activity is always trivial.
I completed the deliver -complete operation and want to see what files were delivered to the target stream?
Find the name of the deliver activity which was created as part of the deliver operation on the target stream.
Run the command OR and look for the activity of the form You will see an activity of the name format Now, run the command This will list all the files and versions which were merged to the remote target stream.
How can I deliver without using Focus commands ?
Deliver to stream in local site
  1. Create a view on the parent stream (if one doesn't already exist)
  2. Create a view on the child stream (if one doesn't already exist)
  3. Set into the view on the child stream and run : cleartool deliver
  4. Set into the view on the parent stream and verify the versions created by the deliver (compile, test, etc.)
  5. Set into the view on the child stream
    • If you are satisfied with the deliver operation results run :
      cleartool deliver -complete
    • If you are not satisfied with the deliver operation results run :
      cleartool deliver -cancel
Deliver to stream in a remote site
  1. Wait for the changes checked into the child stream to be replicated to the site where the parent stream is mastered. A multisite sync runs every 30 minutes.
  2. run : cleartool deliver
  3. This will post your deliver operation to remote replica( change the mastership of child branch to remote replica)
  4. Log into a machine on the site where the parent stream is mastered.
  5. Create a view on the parent stream (if one doesn't already exist)
  6. Create a view on the child stream (if one doesn't already exist)
  7. Set into the view on the child stream
    • Verify that the changes have been replicated to this site (check to see if latest versions on the files you changed are available)
    • Use cleartool deliver -status in a view based on child stream in remote replica (Wait for Multisite sync to happen then run the command)
    • Run : cleartool deliver -resume
  8. Set into the view on the parent stream
    • Verify the versions created by the deliver (compile, test, etc.)
  9. Set into the view on the child stream
    • If you are satisfied with the deliver operation results run :
      cleartool deliver -complete
    • If you are not satisfied with the deliver operation results run :
      cleartool deliver -cancel
Note: To see the delivered changes in the site where the child stream is mastered (for rebasing, creating a new substream from the parent stream with the delivery changes, etc.) you will need to wait for the next multisite sync to occur between the sites.

FOCUS UCM - mkstream

When creating a dev stream, which baseline should be used as a starting point?
Using mkstream -instream parent-stream will create the stream based on the latest baseline. To create it on the latest code, run mkstream -instream parent-stream -latestbl -mkbl, which will create a baseline, and base you stream on that baseline.
Why does mkstream yields "unable to construct stream name"?
Please check the following:
  • The parent stream specified exist - run lsstream
  • ClearCase is working properly - check that commands such as cleartool lsvob return the list of VOBs.
mkstream fails with error: "Baseline "baseline" does not exist in pvobs of this site"
To work around this problem follow these steps:
  • Create a baseline on the parent stream by running mkbl -ident -stream
  • Re attempt the original mkstream command

Subversion

My commit failed due to missing copyright information. How can I fix this?
Valid copyright lines are required for source files before they are committed into Subversion. If a commit fails due to copyright errors, one can run fixcopyright CLI command to insert the missing copyright lines or to correct the invalid copyright lines. Type "fixcopyright -h" to get more information on the usage.

fixcopyright is part of Focus. Please refer to this manual to make sure your path is set up properly to run fixcopyright.
Valid copyright lines will look like lines below:
Example1 - fix the copyright lines in a file:
Example2 - fix the copyright lines in all files in current directory and recursively in those in subdirectorires if any. Files that already have existing valid copyright lines will be skipped:
Note: To skip the copyright verification, insert the following commit comment: [IGNORE:COPYRIGHT]. To escape more then one hook, enter [IGNORE:COPYRIGHT,RALLY]
My commit failed since the comment format was wrong. How can I fix this?
A Commit comment is required. Comments have to follow certain predefined (by application team) format. Comments consist of two portions separated by a space, Defect/Task id and an allowed state. Additional text can be added in the next line.
For example: "DE17 Submitted" or "TA123 In-Progress" where DE or TA has to be followed by a sequence of digits to indicate a defect id or task id. One can also enter "[IGNORE:RALLY]" to indicate there is no comments. To escape more then one hook, enter [IGNORE:COPYRIGHT,RALLY]

ID Prefix States
DE Submitted
Open
Fixed
Closed
TA Defined
In-Progress
Completed
[IGNORE:RALLY]  
The format is:



diff_php.png (102K) Download Attachment

RE: [WebSVN] Compare with Previous fails in latest trunk revision

by Indra Gunawan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I apologized for the double posting.  Please ignore this message.  

Thank you.
-Indra

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2405583

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].