Re: Re: Question re: StatusCommandTckTest

2007-04-12 Thread Emmanuel Venisse
the directory itself and files must be listed as an addition. Ryan Daum a écrit : Question: for non-empty directories, does the test assume that the directory itself shows up as an addition? Or just the files in it? Ryan On 4/12/07, * Ryan Daum* <[EMAIL PROTECTED]

Re: Question re: StatusCommandTckTest

2007-04-12 Thread Emmanuel Venisse
Ryan Daum a écrit : On 4/12/07, *Emmanuel Venisse* <[EMAIL PROTECTED] > wrote: If it ignore the addition, it doesn't generate an error, right? So the result of the add command should return true. Actually the code in addToWorkingTree expects that for thi

Re: Question re: StatusCommandTckTest

2007-04-12 Thread Ryan Daum
Question: for non-empty directories, does the test assume that the directory itself shows up as an addition? Or just the files in it? Ryan On 4/12/07, Ryan Daum <[EMAIL PROTECTED]> wrote: On 4/12/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > If it ignore the addition, it doesn't gener

Re: Question re: StatusCommandTckTest

2007-04-12 Thread Ryan Daum
On 4/12/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: If it ignore the addition, it doesn't generate an error, right? So the result of the add command should return true. Actually the code in addToWorkingTree expects that for this addition there should be one file added. Wouldn't a better

Re: Question re: StatusCommandTckTest

2007-04-12 Thread Emmanuel Venisse
If it ignore the addition, it doesn't generate an error, right? So the result of the add command should return true. But we can add a "isAllowToAddEmptyDirectory()" method in the AddCommand and use it in ScmTestCase Emmanuel Ryan Daum a écrit : Many revision control systems (Mercurial included