mabdi / small-amp

Test Amplification for Pharo
MIT License
5 stars 4 forks source link

error in churn #59

Closed mabdi closed 4 years ago

mabdi commented 4 years ago

I see this error on amplification NewWave:

fatal: ambiguous argument 'NewWave/NewWaveFieldUserTask/FUUser.class.st': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument 'NewWave/NewWaveFieldUserTask/FUUserTest.class.st': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

reason: NewWave baseline has not subdirectory.

mabdi commented 4 years ago

fatal: ambiguous argument 'src/Spy2-Core/S2Profiler.class.st': unknown revision or path not in the working tree.

mabdi commented 4 years ago

In these kinds of cases, the naming is different. packages have a .package post fix and classes end with .class (doesn't have any .st)

mabdi commented 4 years ago

check repo properties fileFormat.

mabdi commented 4 years ago

Spy2 uses #fileTree format. ignore it for now

mabdi commented 4 years ago

Error details:MessageNotUnderstood: receiver of "adaptToNumber:andSend:" is nil

return -1 instead of crashing the process.

mabdi commented 4 years ago

todo: reject all empty lines in the result of cmd