It's all about the answers!

Ask a question

How scm delim-none option is managed by plain API?

Michele Pegoraro (1.8k14119103) | asked Feb 10 '16, 12:57 p.m.
edited Feb 11 '16, 5:19 a.m.
Hi, I have a custom ant task that performs some operation and then a check-in of some loaded files. What method can I use to apply the delim-none option?

I'm currently using the ICheckInOperation and the requestCheckin method on a IShareable object that I've retrieved.

I found these lines in the CommitDilemmaHandler class:

     * Mismatched line delimiters were found in the files to be committed.
     * The commit operation can force the line delimiters to be converted
     * consistently or it can change the line delimiter to be none and
     * re-attempt the commit.  Alternatively, the files can be skipped from
     * the commit.

What I'd like to do is to change the lime delimiter to be none but I cannot find any method to enable this behaviour.


Be the first one to answer this question!

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.