Add Support For Mercurial Patches Using Git Extended Diff Format

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 4.3.0
    • Component/s: None
    • Environment:
      Crucible: Version:2.8.1 Build:20120829051639 2012-08-29

      mercurial: 2.2

      OpenJDK 1.6.0_24 (rhel-1.49.1.11.4.el6_3-x86_64 RPM)

      From http://mercurial.selenic.com/wiki/GitExtendedDiffFormat

      Mercurial's default format for showing changes between two
      versions of a file is compatible with the unified format of GNU
      diff, which can be used by GNU patch and many other standard
      tools.

      While this standard format is often enough, it does not encode the
      following information:

      • executable status and other permission bits
      • copy or rename information
      • changes in binary files
      • creation or deletion of empty files

      Mercurial also supports the extended diff format from the git VCS
      which addresses these limitations. The git diff format is not
      produced by default because a few widespread tools still do not
      understand this format.

      Crucible is one of the "few widespread tools" that does not support the extended git diffs.

            Assignee:
            Mikolaj Zyromski
            Reporter:
            Harry Kantor
            Votes:
            13 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: