Skip to content
Snippets Groups Projects
  1. Jul 13, 2010
  2. Jul 07, 2010
    • Renato Cunha's avatar
      inotify: check all components of filenames against hgignore (issue884) · db9d16233787
      Renato Cunha authored
      With inotify enabled, files that should be ignored could be detected as
      untracked by mercurial. This behavior was wrong because inotify's filestatus
      implementation only matched filenames against ignore patterns, instead of
      checking if other elements of their paths matched them. This patch fixes the
      behavior by checking the file paths against the ignore patterns.
      
      A new test has also been added to the main inotify test to prevent any
      regressions.
      db9d16233787
  3. Jul 02, 2010
  4. Jul 06, 2010
  5. Jul 05, 2010
    • Nicolas Dumazet's avatar
      filelog: cmp: don't read data if hashes are identical (issue2273) · ab9fa7a85dd9
      Nicolas Dumazet authored
      filelog.renamed() is an expensive call as it reads the filelog if p1 == nullid.
      It's more efficient to first compute the hash, and to bail early if
      the computed hash is the same as the stored nodeid.
      
      'samehashes' variable is not strictly necessary, but helps for comprehension.
      ab9fa7a85dd9
    • Nicolas Dumazet's avatar
      filelog: test behaviour for data starting with "\1\n" · 2370e270a29a
      Nicolas Dumazet authored
      Because "\1\n" is a separator for metadata, data starting with "\1\n" is
      handled specifically. It was not tested.
      
      size() call return incorrect data if original data had been "\1\n-escaped".
      There's no obvious way to fix it for now, just flag the error in the code
      and add an "expected failure" kind of test.
      2370e270a29a
  6. Jul 09, 2010
  7. Jul 12, 2010
  8. Jul 13, 2010
  9. Jul 12, 2010
    • Nicolas Dumazet's avatar
      mq: reset self.added after the mq transaction instead of inside qimport · 958022f0f1d5
      Nicolas Dumazet authored
      It seems wiser to reset mq.added at the end of the mq transaction instead of at
      the beginning of a qimport call: this way, calling several times qimport()
      without saving mq state in-between does not overwrite the previous value of
      mq.added (this happens, for example in rebase, where we import several patches
      in a batch before calling .save_dirty() )
      958022f0f1d5
  10. Jul 08, 2010
    • kiilerix's avatar
      convert: cleanup of filemap help text · dec57aa0f8ca
      kiilerix authored
      Clarify that:
      - Specified paths are matched by comparing name of file or directory.
      - Line order (thus) doesn't matter.
      - Rename doesn't imply include.
      dec57aa0f8ca
  11. Jul 09, 2010
  12. Jul 07, 2010
  13. Mar 28, 2010
    • Yuya Nishihara's avatar
      mq: fixed ENOENT when qrename to new/directory.patch · 0c944b7af564
      Yuya Nishihara authored
      MQ patch name can contain slashes, e.g. 'foo/bar.patch'.
      
      Currently "qnew foo/bar.patch" works, but
      "qrename foo/bar.patch new/dir.patch" fails with
      "No such file or directory".
      
      Also added test case for "qnew foo/bar.patch"
      0c944b7af564
  14. Jul 03, 2010
  15. Jul 06, 2010
  16. Jul 04, 2010
  17. Jul 02, 2010
  18. Jul 04, 2010
  19. Jul 02, 2010
  20. Jul 03, 2010
  21. Jul 02, 2010
  22. Jul 01, 2010
  23. Jun 29, 2010
    • kiilerix's avatar
      log: follow filenames through renames (issue647) · f786fc4b8764
      kiilerix authored
      In commands.log a displayer was initialized from
      cmdutil.show_changeset() with the initial matchfn (which designates
      the specified files which only is correct in the highest revision in
      the range). prep() is handed the correct list of files, but
      displayer.show() didn't use that list but keept using the original
      matchfn.
      
      The matchfn argument to cmdutil.show_changeset() wasn't specified in
      other places and is only used in .show(), so now we give the matchfn
      as an optional parameter to .show().
      
      We do however still have to detect --patch and --stat from opts in
      show_changeset() and let it imply a matchall, but that can now be
      overruled with the new .show() matchfn parameter.
      1.6
      f786fc4b8764
  24. Jul 01, 2010
Loading