Source Control from command line

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Zoë
    replied
    Re: Source Control from command line

    It sounds like you mostly need to set up Visual Studio and your version control system, which you can do without any of the specific features of BC.

    First, you need to set up your version control system to use BC as the external comparison utility. We have documentation for the various version control systems in the knowledge base article Using BC with Version Control Systems.

    After that you need to set up Visual Studio so it's integrated with your version control system. Most version control systems should have help on that step.

    Once that's done Visual Studio will have a "Source Control" submenu in it's "File" menu. When you have a file that's under source control open in Visual Studio that item will have a "Compare Versions..." menu item that you can use that should prompt for the version and open BC.

    The feature that we added in 2.4 adds that same "Source Control" menu to BC, to allow checking in and out files. It's documented in the knowledge base article SCC Version Control Integration.

    Leave a comment:


  • Guest's Avatar
    Guest started a topic Source Control from command line

    Source Control from command line

    Love the new source control integration, but not sure how to automate it (eg from inside Visual Studio)

    Is there

    a) a command line option that will compare a file with the latest revision in source control?

    and/or

    b) a command line option that , given a file name, will display the 'Difference options' dialog box that will allow you to select a revision from source control and then compare it the file?

    Also. Is there any help or documentation or this feature?
Working...