Exemplo n.º 1
0
        public static   SvnLogEventArgs[] Run(string path, string arguments)
        {
            if (arguments.IndexOf("--xml") < 0)
            {
                arguments += " --xml";
            }
            var text = SvnClientHost.Run("log", path.WrapQuot(), arguments);

            return(SvnLogEventArgs.Read(text));
        }
Exemplo n.º 2
0
        public static   SvnLogEventArgs[] Run(string path, long revision, int count)
        {
            var revisionText = revision.ToString();

            if (revision == long.MaxValue)
            {
                revisionText = "head";
            }
            var text = SvnClientHost.Run("log", path.WrapQuot(), "-r", $"{revisionText}:1", "--xml", "-v", "-l", count, "--with-all-revprops");

            return(SvnLogEventArgs.Read(text));
        }
Exemplo n.º 3
0
        public static   SvnLogEventArgs[] Run(string path, long revision)
        {
            var text = SvnClientHost.Run("log", path.WrapQuot(), "-r", $"head:{revision}", "--xml", "-v");

            return(SvnLogEventArgs.Read(text));
        }