Announcement

Collapse
No announcement yet.

BC4 opens 3 way merge CLI arguments as 2 way CSV diff

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Parker
    started a topic BC4 opens 3 way merge CLI arguments as 2 way CSV diff

    BC4 opens 3 way merge CLI arguments as 2 way CSV diff

    When I try to 3 way merge CSV files, they are opened in the standard 2 way diff window, which doesn't let me merge, or make changes to the merge result file. Then, if I switch to text-merge, I'm still in diff mode.

    Is there a way to disable CSV merge by default, or something along those lines?

    Thanks.

  • Aaron
    replied
    Ahh, yes, if it works from the command line, then it's working. I'd suggest creating a .bat file for intelij to call (which doesn't include the extra), then within the .bat make the full call with the /fv option.

    Leave a comment:


  • Parker
    replied
    I definitely have the Pro edition. If I don't include /fv="Text Merge", text files load into the merge mode just fine, but the CSV didn't. With /fv="Text Merge" text files load into "Text Compare" mode. If I try from the command line, Text Merge works fine. This leads me to believe it's a problem with the way Intellij is running the commend with the quotes.
    Last edited by Parker; 06-Oct-2017, 03:03 PM.

    Leave a comment:


  • Aaron
    replied
    Hello,

    If you go to the Help menu -> About, do you have BC4 Standard or Pro edition? Pro is needed for Text Merging. You can revert to trial mode for testing if you are already registered for Std, here:
    http://www.scootersoftware.com/suppo...?zz=kb_evalpro

    And if you need to purchase an upgrade, here:
    http://www.scootersoftware.com/shop....=upgradepolicy

    Leave a comment:


  • Parker
    replied
    Well, for some reason adding /fv="Text Merge" is causing even normal text files to open in text compare mode. I'm not sure if there's something wrong with the way Intellij is running the command or what. Adding a backslash to the quotes didn't help.

    Leave a comment:


  • Parker
    replied
    Fantastic, thanks.

    The first option sounds perfect, since the CSV diff view is generally pretty great, when needed.

    Now... who knows when I'll actually need to merge CSV again to test this.

    Leave a comment:


  • Aaron
    replied
    Hello,

    Yes, you can add /fv="Text Merge" as a command line argument to force that view.

    Or in the Tools menu -> File Formats dialog, add an additional format New (+) Text format, and assign it a file mask of *.csv. The topmost file format associated with *.csv picks which viewer type is used by default, so .csv would then open in the Text Compare and Text Merge session types.

    Leave a comment:

Working...
X