Skip to content
  • Georges Racinet's avatar
    Temporary workdirs: switching to the closure style · 8211911f4bca
    Georges Racinet authored
    This is better style and it makes sense for the method that
    create the temporary working directory to take care of its
    cleanup. Overall, we lower the risk to forget an `ensure`
    statement.
    
    We change the name of the method in the same move because
    
    - it's consistent with what the method does
    - it helps us being sure there isn't a leftover call to
      the old `hg_new_workdir` method.
    8211911f4bca