Skip to content
Snippets Groups Projects
  1. Oct 09, 2010
    • Adrian Buehlmann's avatar
      store: encode first period or space in filenames (issue1713) · 34d8247a
      Adrian Buehlmann authored
      - Mac OS X has problems with filenames starting with '._'
        (e.g. '.FOO' -> '._f_o_o' is now encoded as '~2e_f_o_o')
      
      - Explorer of Windows Vista and Windows 7 strip leading spaces of
        path elements of filenames when copying trees
      
      Above problems are avoided by encoding the first space (as '~20') or
      period (as '~2e') of all path elements.
      
      This introduces a new entry 'dotencode' in .hg/requires, that is,
      a new repository filename layout (inside .hg/store).
      
      Newly created repositories require 'dotencode' by default. Specifying
      
        [format]
        dotencode = False
      
      in a config file will use the old format instead.
      
      Prior Mercurial versions will abort with the message
      
         abort: requirement 'dotencode' not supported!
      
      when trying to access a local repository that requires 'dotencode'.
      
      New 'dotencode' repositories can be converted to the previous
      repository format with
      
        hg --config format.dotencode=0 clone --pull repoA repoB
      34d8247a
  2. Sep 14, 2010
  3. Oct 09, 2010
  4. Oct 10, 2010
  5. Oct 09, 2010
  6. Aug 17, 2010
  7. Oct 09, 2010
  8. Oct 08, 2010
  9. Oct 09, 2010
    • Nicolas Dumazet's avatar
      inotify: raise correct error if server is already started in a deep repository · fed4bb2c
      Nicolas Dumazet authored
      When path is too long to be an Unix socket address, we create a socket in a
      temporary directory and link from the long path to the shorter one.
      But checks in server code at startup were insufficient in this case, and used
      to raise an unclear "tried linking .hg/inotify.sock to a temporary socket but
      .hg/inotify.sock already exists"
      fed4bb2c
  10. Oct 08, 2010
  11. Oct 09, 2010
Loading