문제

I want to commit the changes of a working copy in my computer to the repository. The repository is in an URL and i´m doing this now:

using (SvnClient client = new SvnClient())
{
    SvnCommitArgs ca = new SvnCommitArgs();

    ca.ChangeLists.Add(workingcopydir + filename);

    ca.LogMessage = "Change";

    client.Add(workingcopydir + filename);



    try
    {
        client.Commit(workingcopydir, ca);

        //, ca, out resultado
    }
    catch (Exception exc)
    {
        MessageBox.Show(this, exc.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    }
}

But it doesn´t work, when it finish the file is added but not commited. Why? Thanks!!! :)

도움이 되었습니까?

해결책

  • @implementation Classname 파일의 .m 옆에있는 노란색 표시가 표시됩니다.
  • 노란색 기호에 두 번을 클릭하면 Xcode가 당신을 데려 갈 것입니다. 필요한 방법으로 똑바로 ..

    편집 (코멘트가 많은 투표를 받았기 때문에)

    위의 속도는 빠른 방법입니다. 향후 Xcode 버전에서는 작동하지 않을 수 있습니다

    적절한 방법 (@alex 회색으로 주어진다)

    1. 편집자 -> 발행 탐색기
    2. Xcode로 Xcode로 점프하는 각 경고를 클릭하십시오. 드롭 다운을 사용하여 경고를 즉시 클릭하십시오. 또한 문제에 대한 자세한 내용을 알 수 있습니다.

다른 팁

The ChangeList argument works as a filter. Only files that are marked to be in the specific changelists will be operated upon.

For commit you can just provide multiple targets.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top