SharpSvn: How can I see the result of Update ()?

When using the simple svn client command line, if you run update, you will see the changes made to your working copy.

I tried to do this in SharpSvn (with C #,. Net 3.5) because I need to see if the operation Client.Update()led to the deletion of the files, for example.
I tried using SvnUpdateResult, but it returns one item for the entire folder, without any details that I can find. I also cannot find anything useful in SvnUpdateArgs.

Help me please?

Thank.

+3
source share
1 answer

You can subscribe to the event Notify, to SvnUpdateArgsor to the client instance itself:

SvnUpdateArgs ua = new SvnUpdateArgs();
ua.Notify += delegate(object sender, SvnNotifyEventArgs e)
        {
            Console.Write(e.Action);
            Console.WriteLine(e.FullPath);
        };
+10

Source: https://habr.com/ru/post/1765950/


All Articles