Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8197649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:47:08+00:00 2026-06-07T05:47:08+00:00

I have checked in the same file (filename) twice in 2 different branches (say,

  • 0

I have checked in the same file (filename) twice in 2 different branches (say, development and release).

This breaks just about anything, so I want to take 1 version and “properly” copy/merge it to the other branch, later merging in the lost changes manually (from a backup). Then I would lose history for 1 file but at least the 2 files would be connected again.

How to do it?


Also note, since the connection is broken, I cannot mere, also, when doing a Version Tree, both files have different version trees. (It is not 2 views at different files in 1 Version Tree, like is the normal/correct case.)

Also, I assume the problem is with the folder having some kind of a reference to 2 different files, but somehow, I cannot edit the folder?!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T05:47:09+00:00Added an answer on June 7, 2026 at 5:47 am

    Those are call “evil twins” (also described in that SO question)
    (one less thing to worry with Git 😉 )

    The easiest way is to pick one branch:

    • remove the file from the other branch (rmname),
    • and to the merge.

    The merge will add that same file in the other branch.
    That process (rmname + merge) is illustrated in “Clearcase: How do I merge in a specific file from one view, into another, to avoid the Evil Twin scenario?“


    (edit by Andreas)
    Your solution worked great, I changed it for me since I noticed I have a specific case:
    The file got bad since someone else renamed it… so it was not just as simple as your solution, but I had to do it “by hand”, as is

    Go to X:\FullyQualifiedPath (correct path in VOB)

    Use:

    cleartool ln FullyQualifiedName ./FileName
    

    where FullyQualifiedName is the name as you get it e. g. from VersionTree when you say “Send To -> Copy” (something like //view, drop the file: before). This creates the link

    Afterwards, you can see the desired version in the ClearCase Explorer again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have checked this similar question, but the suggestions did not solve my problem:
This is driving me up the wall. I have checked and rechecked spelling and
I have an XML file and I would like to merge two different CONTACT
I have to install the DLL to GAC. I have checked that same DLL
I have a c++ file that keeps throwing errors about four files up the
I have checked 100% I am closing all handles on a file I recently
I have checked many questions here but none has my answer. I appreciate if
I have checked with Aweber customers service and they told me their internal function
I have checked a lot of questions on stackoverflow and I seem to have
I have checked few other posts and found some UIAnimation transitions that kind-of give

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.