Пример #1
0
        public static void Blame(SvnUrl pathOrUrl,
								 SvnOptRevision start, SvnOptRevision end, 
								 BlameReceiver receiver, IntPtr baton,
							     SvnClientContext ctx, AprPool pool)
        {
            InternalBlame(pathOrUrl, start, end, receiver, baton, ctx, pool);
        }
Пример #2
0
 public static void Blame(SvnUrl pathOrUrl,
                          SvnOptRevision start, SvnOptRevision end,
                          BlameReceiver receiver, IntPtr baton,
                          SvnClientContext ctx, AprPool pool)
 {
     InternalBlame(pathOrUrl, start, end, receiver, baton, ctx, pool);
 }
Пример #3
0
 public void Blame(string pathOrUrl,
                   SvnRevision start, SvnRevision end,
                   BlameReceiver receiver, IntPtr baton)
 {
     InternalBlame(PathOrUrl(pathOrUrl),
                   start.ToSvnOpt(mPool), end.ToSvnOpt(mPool),
                   receiver, baton, mContext, mPool);
 }
Пример #4
0
 public void Blame(SvnUrl pathOrUrl,
                   SvnRevision start, SvnRevision end,
                   BlameReceiver receiver, IntPtr baton)
 {
     Blame(pathOrUrl,
           start.ToSvnOpt(mPool), end.ToSvnOpt(mPool),
           receiver, baton, mContext, mPool);
 }
Пример #5
0
        protected static void InternalBlame(IAprUnmanaged pathOrUrl,
                                            SvnOptRevision start, SvnOptRevision end,
                                            BlameReceiver receiver, IntPtr baton,
                                            SvnClientContext ctx, AprPool pool)
        {
            SvnDelegate receiverDelegate = new SvnDelegate(receiver);

            Debug.WriteLine(String.Format("svn_client_blame({0},{1},{2},{3},{4:X},{5},{6})", pathOrUrl, start, end, receiver.Method.Name, baton.ToInt32(), ctx, pool));
            SvnError err = Svn.svn_client_blame(pathOrUrl.ToIntPtr(), start, end,
                                                (Svn.svn_client_blame_receiver_t)receiverDelegate.Wrapper,
                                                baton,
                                                ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
        }
Пример #6
0
        protected static void InternalBlame(IAprUnmanaged pathOrUrl,
								 		  SvnOptRevision start, SvnOptRevision end, 
										  BlameReceiver receiver, IntPtr baton,
										  SvnClientContext ctx, AprPool pool)
        {
            SvnDelegate receiverDelegate = new SvnDelegate(receiver);
            Debug.WriteLine(String.Format("svn_client_blame({0},{1},{2},{3},{4:X},{5},{6})",pathOrUrl,start,end,receiver.Method.Name,baton.ToInt32(),ctx,pool));
            SvnError err = Svn.svn_client_blame(pathOrUrl.ToIntPtr(), start, end,
                                                (Svn.svn_client_blame_receiver_t)receiverDelegate.Wrapper,
                                                baton,
                                                ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
        }
Пример #7
0
        public void Blame(string pathOrUrl,
						  SvnRevision start, SvnRevision end, 
						  BlameReceiver receiver, IntPtr baton)
        {
            InternalBlame(PathOrUrl(pathOrUrl),
                  		  start.ToSvnOpt(mPool), end.ToSvnOpt(mPool),
                  		  receiver, baton, mContext, mPool);
        }
Пример #8
0
        public void Blame(SvnUrl pathOrUrl,
						  SvnRevision start, SvnRevision end, 
						  BlameReceiver receiver, IntPtr baton)
        {
            Blame(pathOrUrl,
                  start.ToSvnOpt(mPool), end.ToSvnOpt(mPool),
                  receiver, baton, mContext, mPool);
        }