How are --config options interpreted by JavaHg and the Mercurial command server if I set them with the cmdAppend method? The method has no Javadoc yet.
Will they persist from call to call or will they reset automatically after each call to an execute method?
JavaHg does not do anything special with arguments added with
cmdAppend— they go directly to the command server. An option set withwill only be effective for the next
cmd.execute();. This is tested right here in JavaHg.The Mercurial command server resets the configuration between requests so this will also apply for other command server clients.