Is there a way to specify the line ending style for merge output?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #16
    Tim,

    I just sent this information by email, but I'll post it here for anyone else monitoring this thread.

    I don't have a strong Perforce background, so here's a link that describes how they handle line terminators: http://kb.perforce.com/P4dServerRefe...n..LineEndings

    It looks like by default Perforce always stores text in the repository with LF as a terminator. Using the default settings, it will check files out to your system using terminators that match your operating system (CRLF on Windows). When you check the file back in, it should automatically convert it to the preferred format (LF) of the repository.

    You can edit your Perforce workspace options to force it to check out in another format. To change the setting In P4V 2007.3, select Connection > Edit Current Workspace. Change the "LineEnd" setting to "unix".
    Chris K Scooter Software

    Comment

    • jwharton
      Visitor
      • Mar 2011
      • 4

      #17
      Originally posted by Erik
      - Select "View -> Visible Whitespace" to show line endings.
      - The file type indicator is listed in the status bar of the input editors (MAC, PC, UNIX, MIX).
      - "Compare line endings" in the "Session Settings" dialog will treat differences in line endings as important. This is most useful for mixed line endings.
      I am having troubles with getting mixed line endings and I could not find this feature in my version of Beyond Compare. I checked to see if I have the latest.

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16000

        #18
        Hello,

        The Session Settings dialogs are context specific. Are you currently in a Text Compare session (viewing the text of your files)? If so, the Importance tab should have the "Compare Line endings (PC/Mac/Unix)" option near the bottom of the dialog.
        Aaron P Scooter Software

        Comment

        Working...