1. Fredrik Håård
  2. hgapi
  3. Issues
Issue #10 resolved

Files param doesn't work

Adam Gomaa
created an issue

If hg_commit() is called with close_branch=False (the default), an empty string is passed as the close arg to hg_command, which hg will interpret at the files argument; all files will get committed instead of just the ones passed in files. Same issue with the user kwarg (unless Repo.user is assigned).

Attached patch includes a test case that fails on the current code, and a fix.

Comments (1)

  1. Log in to comment