1

SVNのように機能し、リポジトリの作成、チェックアウト、ユーザーの作成、コミットが可能なプロジェクトに取り組んでいますが、インポート中に「Working copy'E:\ Admin \ admin' is too old(format 10、created by Subversion 1.6)」と、パスが見つからないことを示しているものもあります。

     using (SvnClient client = new SvnClient())
        {
            SvnAddArgs saa = new SvnAddArgs();
            saa.Force = true;
            saa.Depth = SvnDepth.Infinity;

            SvnImportArgs ca = new SvnImportArgs();

            ca.LogMessage = "some log message";

            SvnCommitResult result;

            Uri uri = new Uri(getPathToRepository());

            String fileName = getPathToFile();
            client.Authentication.DefaultCredentials = new System.Net.NetworkCredential("koteswar", "neeraja");

            client.Import(fileName, uri, ca, out result);

        }

このことをどのように解決できるか、ありがとう。

4

1 に答える 1

1

私は解決策を見つけましたが、それは私のケースに固有のものでした。

client.Import(fileName, 
new Uri("https://koteshwar:8443/svn/"+comboBox1.SelectedItem+"/trunk"), ca, out result);.
于 2012-05-01T10:05:35.777 に答える