Skip to content
Snippets Groups Projects
  1. Sep 15, 2014
  2. Sep 13, 2014
  3. Sep 12, 2014
  4. Sep 02, 2014
  5. Sep 10, 2014
  6. Sep 11, 2014
  7. Aug 19, 2014
  8. Sep 11, 2014
  9. Sep 10, 2014
  10. May 26, 2014
  11. Sep 10, 2014
  12. Aug 07, 2014
  13. Sep 05, 2014
    • Durham Goode's avatar
      dirstate: add exception when calling setparent without begin/end (API) · d259322a
      Durham Goode authored
      Adds an exception when calling dirstate.setparent without having first called
      dirstate.beginparentchange. This will prevent people from writing code that
      modifies the dirstate parent without considering the transactionality of their
      change.
      
      This will break third party extensions that call setparents.
      d259322a
    • Durham Goode's avatar
      dirstate: add test for exceptions during updates · 2e47e461
      Durham Goode authored
      Adds a test that checks if the working copy parent and the working copy are in a
      good state if an exception happens between the time the working copy parent is
      set and the time the actual updates are recorded in the dirstate.
      2e47e461
    • Durham Goode's avatar
      dirstate: wrap setparent calls with begin/endparentchange (issue4353) · 6f63c47c
      Durham Goode authored
      This wraps all the locations of dirstate.setparent with the appropriate
      begin/endparentchange calls. This will prevent exceptions during those calls
      from causing incoherent dirstates (issue4353).
      6f63c47c
    • Durham Goode's avatar
      dirstate: add begin/endparentchange to dirstate · 12bc7f06
      Durham Goode authored
      It's possible for the dirstate to become incoherent (issue4353) if there is an
      exception in the middle of the dirstate parent and entries being written (like
      if the user ctrl+c's). This change adds begin/endparentchange which a future
      patch will require to be set before changing the dirstate parent.  This will
      allow us to prevent writing the dirstate in the event of an exception while
      changing the parent.
      12bc7f06
  14. Sep 08, 2014
  15. Sep 11, 2014
  16. Sep 08, 2014
  17. Aug 30, 2014
  18. Aug 29, 2014
  19. Sep 10, 2014
    • Pierre-Yves David's avatar
      obsolete: properly drop 'date' from metadata · 813c6855
      Pierre-Yves David authored
      Mistakes were made while resolving rebase conflicts in 4bc96685a40c. This led to
      'date' being preserved in metadata when reading markers from a binary stream.
      
      As a result, some known markers were seen as "new" when pulling. I noticed it
      because a no-op pulls from main added about 600 duplicated markers to my
      obsstore (for each pull).
      
      I do not believe we need to perform any specific action to actively
      de-duplicates existing obsstore. After this fix, duplicated markers will no be
      propagated and the few affected repositories can probably deal with duplication (or
      people can repull the obsstore from a clone).
      
      As a side effect, we decode metadata only once, reducing the impact of the hack
      in fm0 to store extra important data (parents and date).
      813c6855
  20. Sep 08, 2014
    • Anton Shestakov's avatar
      templater: implement __len__ for _hybrid · 293930a1
      Anton Shestakov authored
      Objects of class _hybrid are returned by such template keywords as children,
      bookmarks, tags and others, and also by revset() template function. They are
      representing "list of strings" (as hg help template says) for use in templates.
      So it would be logical to implement a handy way to count the number of strings
      in such list, and that's what __len__ method does.
      293930a1
  21. Sep 05, 2014
  22. Sep 08, 2014
    • anuraggoel's avatar
      run-tests: added '--json' functionality to store test result in json file · c42e6926
      anuraggoel authored
      This patch added a new functionality '--json'. While testing, if '--json'
      is enabled then test result data gets stored in newly created "report.json"
      file in the following format.
      
      testreport ={
          "test-success.t": {
              "result": "success",
              "time": "2.041"
          }
          "test-failure.t": {
              "result": "failure",
              "time": "4.430"
          }
          "test-skip.t": {
              "result": "skip"
                  "time": "3.754"
          }
      }
      
      Otherwise, if '--json' is enabled but json module was not installed then it
      will raise an error "json module not installed".
      
      This "report.json" file will further accessed by html/javascript file for
      graph usage.
      c42e6926
  23. Sep 02, 2014
    • Sune Foldager's avatar
      changegroup: rename bundle-related functions and classes · e2806b86
      Sune Foldager authored
      Functions like getbundle and classes like unbundle10 really manipulate
      changegroups and not bundles. A HG10 bundle is the same as a changegroup
      plus a small header, but this is no longer the case for a HG2X bundle,
      so it's better to separate the names a bit.
      e2806b86
  24. Aug 18, 2014
Loading