Skip to content
Snippets Groups Projects
  1. May 16, 2015
    • Matt Harbison's avatar
      subrepo: introduce getfileset() · df63d4843581
      Matt Harbison authored
      This will be used in the next patch to help matchers resolve filesets in
      subrepos.  The default implementation returns an empty set (for git and svn).
      df63d4843581
  2. May 15, 2015
  3. Apr 13, 2015
  4. May 10, 2015
    • Pierre-Yves David's avatar
      obsolete: sort obsmarkers during exchange · e632a2429982
      Pierre-Yves David authored
      Because bundle2 allows a more precise exchange of obsmarkers during pull, it
      sends them in a different order (previously unstable because of sets.)  As
      a result, they are added to the repository in a different order. To stabilize
      the order and ensure tests are unchanged when moving from bundle1 to bundle2 we
      sort markers when exchanging them.
      
      In the long run, the obsstore will probably not use a linear storage.
      e632a2429982
  5. Apr 21, 2015
  6. May 15, 2015
    • Pierre-Yves David's avatar
      revset: fix iteration over ordered addset composed of non-ordered operands · 5548f558db3d
      Pierre-Yves David authored
      Before this change, doing ordered iteration over an 'addset' object composed of
      operands without fastasc or fastdesc method could result in duplicated entries.
      This was the result of applying '_iterordered' on an unordered set.
      
      We fix it by ensuring we iterate over the set in a sorted order. Using the fast
      iterator when it exists on any operand. We kill the '_iterator' method in the
      process because it did not make a lot of sense independently.
      
      Thanks goes to Yuya Nishihara for reporting the issue and analysing the cause.
      5548f558db3d
    • Drew Gottlieb's avatar
      match: add match.ispartial() · d1d69ca78883
      Drew Gottlieb authored
      match.ispartial() will return the opposite of match.always() in core, but this
      function will be extensible by extensions to produce another result even
      if match.always() will be untouched.
      
      This will be useful for narrowhg, where ispartial() will return False even if
      the match won't always match. This would happen in the case where the only
      time the match function is False is when the path is outside of the narrow
      spec.
      d1d69ca78883
  7. May 16, 2015
  8. May 14, 2015
    • Gilles Moris's avatar
      summary: add a phase line (draft, secret) to the output · 1ef96a3b8b89
      Gilles Moris authored
      The number of draft and secret changesets are currently not summarized.
      This is an important information because the number of drafts give some rough
      idea of the number of outgoing changesets in typical workflows, without needing
      to probe a remote repository. And a non-zero number of secrets means that
      those changeset will not be pushed.
      
      If the repository is "dirty" - some draft or secret changesets exists - then
      summary will display a line like:
      
      phases: X draft, Y secret (public)
      
      The phase in parenthesis corresponds to the highest phase of the parents of
      the working directory, i.e. the current phase.
      
      By default, the line is not printed if the repository is "clean" - all
      changesets are public - but if verbose is activated, it will display:
      
      phases: (public)
      
      On the other hand, nothing will be printed if quiet is in action.
      
      A few tests have been added in test-phases.t to cover the -v and -q cases.
      1ef96a3b8b89
  9. May 15, 2015
  10. May 14, 2015
    • Anton Shestakov's avatar
      hgweb: split some long lines in paper, gitweb and monoblue styles · 09ec4220a839
      Anton Shestakov authored
      This will ease future patches for the templates.
      
      As a result of this patch, paper style has one visual change in
      log/shortlog/file log view: the spacing between commit message and the first
      tag (or branch name, or bookmark) is now roughly who spaces wide instead of one
      space wide. This spacing is consistent with the one between branch
      names/tags/bookmarks themselves, so it looks better.
      
      In gitweb style, the change from non-breakable space to regular space is
      consistent with other elements.
      
      In monoblue the change is not noticeable.
      09ec4220a839
  11. May 13, 2015
    • Augie Fackler's avatar
      run-tests: add a --profile-runner option · 149cc7663ac8
      Augie Fackler authored
      While in the throes of a recent run-tests adventure, I found it useful
      to have profiler output for the testrunner itself. Adding it was
      simple enough and seems worth keeping around.
      149cc7663ac8
  12. May 15, 2015
  13. Apr 14, 2015
  14. May 15, 2015
  15. Apr 14, 2015
    • Ryan McElroy's avatar
      bookmarks: rename current to active in variables and comments · d6e7ac651973
      Ryan McElroy authored
      Today, the terms 'active' and 'current' are interchangeably used throughout the
      codebase in reference to the active bookmark (the bookmark that will be updated
      with the next commit). This leads to confusion among developers and users.
      This patch is part of a series to standardize the usage to 'active' throughout
      the mercurial codebase and user interface.
      d6e7ac651973
  16. May 15, 2015
  17. May 08, 2015
    • Pierre-Yves David's avatar
      run-tests: include 'start' and 'end' in --time output · bf84ab53c2fd
      Pierre-Yves David authored
      This is useful information to understand what is taking time in tests. Both are
      included because I can see myself sorting this output using shell script. Having
      both data makes it much easier than extracting 'start'+'real'.
      bf84ab53c2fd
    • Pierre-Yves David's avatar
      run-tests: track start and end time of tests · a4fce7905721
      Pierre-Yves David authored
      We currently have information about how long each test took, but we have no data
      about their actual scheduling. So we now track when a test started and stopped
      (in the referential of the whole tests run) to expose this information.
      
      The data is currently in the json only because the json output is meant to be
      extensible. Later changeset will includes this data in the text output and we
      will be happy to bikeshed its formating there.
      
      Yes, "end" is actually just "start" + "time", but computing it an including it
      in the output is simple, cheap and convenient.
      a4fce7905721
  18. May 15, 2015
  19. May 08, 2015
  20. Apr 14, 2015
    • Martin von Zweigbergk's avatar
      treemanifest: store submanifest revlog per directory · b5052fc73300
      Martin von Zweigbergk authored
      With this change, when tree manifests are enabled (in .hg/requires),
      commits will be written with one manifest revlog per directory. The
      manifest revlogs are stored in
      .hg/store/meta/$dir/00manifest.[id].
      
      Flat manifests can still be read and interacted with as usual (they
      are also read into treemanifest instances). The functionality for
      writing treemanifest as a flat manifest to disk is still left in the
      code; tests still pass with '_treeinmem=True' hardcoded.
      
      Exchange is not yet implemented.
      b5052fc73300
  21. May 15, 2015
Loading