Skip to content
Snippets Groups Projects
  1. Sep 29, 2015
  2. Oct 12, 2015
  3. Oct 09, 2015
    • Siddharth Agarwal's avatar
      simplemerge: move conflict warning message to filemerge · ef1eb6df7071
      Siddharth Agarwal authored
      The current output for a failed merge with conflict markers looks something like:
      
        merging foo
        warning: conflicts during merge.
        merging foo incomplete! (edit conflicts, then use 'hg resolve --mark')
        merging bar
        warning: conflicts during merge.
        merging bar incomplete! (edit conflicts, then use 'hg resolve --mark')
      
      We're going to change the way merges are done to perform all premerges before
      all merges, so that the output above would look like:
      
        merging foo
        merging bar
        warning: conflicts during merge.
        merging foo incomplete! (edit conflicts, then use 'hg resolve --mark')
        warning: conflicts during merge.
        merging bar incomplete! (edit conflicts, then use 'hg resolve --mark')
      
      The 'warning: conflicts during merge' line has no context, so is pretty
      confusing.
      
      This patch will change the future output to:
      
        merging foo
        merging bar
        warning: conflicts while merging foo! (edit, then use 'hg resolve --mark')
        warning: conflicts while merging bar! (edit, then use 'hg resolve --mark')
      
      The hint on how to resolve the conflicts makes this a bit unwieldy, but solving
      that is tricky because we already hint that people run 'hg resolve' to retry
      unresolved merges. The 'hg resolve --mark' mostly applies to conflict marker
      based resolution.
      ef1eb6df7071
  4. Oct 11, 2015
  5. Oct 12, 2015
  6. Oct 08, 2015
  7. Oct 12, 2015
  8. Oct 11, 2015
  9. Oct 08, 2015
    • Mads Kiilerich's avatar
      context: don't hex encode all unknown 20 char revision specs (issue4890) · a3fcc8e3136b
      Mads Kiilerich authored
      d3908c911d5e introduced nice hexified display of missing nodes. It did however
      also make missing 20 character revision specifications be shown as hex - very
      confusing.
      
      Users are often wrong and somehow specify revisions that don't exist. Nodes
      will however rarely be missing ... and they will only look like a user provided
      revision specification and be all ascii in 1 of 4*10**9.
      
      With this change, missing revisions will only be hexified if they really look
      like binary nodes. This change will thus improve the error reporting UI in the
      common case and only very rarely make it confusing in the opposite direction of
      how it was before.
      a3fcc8e3136b
  10. Oct 12, 2015
    • Pierre-Yves David's avatar
      discovery: put trivial branch first · 517ffec37dee
      Pierre-Yves David authored
      Having the simple and tiny branch of the conditional first help readability. The
      "else" that appears after a screen of code is harder to relate to a conditional.
      517ffec37dee
  11. Oct 09, 2015
  12. Oct 12, 2015
  13. Oct 09, 2015
  14. Oct 12, 2015
  15. Oct 07, 2015
    • Emanuele Giaquinta's avatar
      cvsps: fix computation of parent revisions when log caching is on · c60dfcc0abf2
      Emanuele Giaquinta authored
      cvsps computes the parent revisions of log entries by walking the cvs log
      sorted by (rcs, revision) and by iteratively maintaining a 'versions'
      dictionary which maps a (rcs, branch) pair onto the last revision seen for that
      pair. When log caching is on and a log cache exists, cvsps fails to set the
      parent revisions of new log entries because it does not iterate over the log
      cache in the parents computation. A complication is that a file rcs can change
      (move to/from the attic), with respect to its value in the log cache, if the
      file is removed/added back. This patch adds an iteration over the log cache to
      update the rcs of cached log entries, if changed, and to properly populate the
      'versions' dictionary.
      c60dfcc0abf2
  16. Oct 06, 2015
  17. Oct 11, 2015
  18. Oct 08, 2015
  19. Oct 06, 2015
  20. Oct 05, 2015
    • Christian Delahousse's avatar
      histedit: delete histedit statefile on any exception during abort · e28102403d1b
      Christian Delahousse authored
      When an user aborts a histedit, many things could go wrong. At a minimum, after
      a histedit abort failure, their repository should be out of that state. We've
      found situations where the user could not exit the histedit state without
      manually deleting the histedit state file. This patch ensures that if any
      exception happens during an abort, the histedit statefile will be deleted so
      that users are out of the histedit state and can at least manually get the repo
      back to a workable condition.
      e28102403d1b
  21. Oct 06, 2015
    • Christian Delahousse's avatar
      histedit: check presence of statefile before deleting it · 49b568a4e539
      Christian Delahousse authored
      When the histeditstate class instance has it's clear() method called, there is
      nothing to check to see if the state file exists before deleting it. It may not
      exist, which would create an exception. This patch allows clear to be called at
      any time.
      
      This will be needed for the following patch.
      49b568a4e539
Loading