Example #1
0
        protected static void InternalDiff(AprArray diffOptions,
								IAprUnmanaged path1, SvnOptRevision revision1,
								IAprUnmanaged path2, SvnOptRevision revision2,
								bool recurse, bool ignoreAncestry, bool noDiffDeleted,
								AprFile outFile, AprFile errFile,  
							    SvnClientContext ctx, AprPool pool)
        {
            Debug.WriteLine(String.Format("svn_client_diff({0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11})",diffOptions,path1,revision1,path2,revision2,recurse,ignoreAncestry,noDiffDeleted,outFile,errFile,ctx,pool));
            SvnError err = Svn.svn_client_diff(diffOptions, path1.ToIntPtr(), revision1,
                                               path2.ToIntPtr(), revision2,
                                               (recurse ? 1 : 0), (ignoreAncestry ? 1 : 0),
                                               (noDiffDeleted ? 1 : 0), outFile, errFile,
                                               ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
        }
Example #2
0
 public static SvnStream Create(AprFile file, AprPool pool)
 {
     return(new SvnStream(Svn.svn_stream_from_aprfile(file,pool)));
 }
Example #3
0
        public static void Diff(AprArray diffOptions,
								SvnPath path1, SvnOptRevision revision1,
								SvnUrl path2, SvnOptRevision revision2,
								bool recurse, bool ignoreAncestry, bool noDiffDeleted,
								AprFile outFile, AprFile errFile,  
							    SvnClientContext ctx, AprPool pool)
        {
            InternalDiff(diffOptions, path1, revision1, path2, revision2,
                         recurse, ignoreAncestry, noDiffDeleted, outFile, errFile, ctx, pool);
        }
Example #4
0
        public void Diff(ICollection diffOptions,
						 SvnUrl path1, SvnRevision revision1,
						 SvnUrl path2, SvnRevision revision2,
						 bool recurse, bool ignoreAncestry, bool noDiffDeleted,
						 AprFile outFile, AprFile errFile)
        {
            Diff(AprArray.LazyMake(mPool,diffOptions,typeof(AprString)),
                 path1, revision1.ToSvnOpt(mPool),
                 path2, revision2.ToSvnOpt(mPool),
                 recurse, ignoreAncestry, noDiffDeleted,
                 outFile, errFile, mContext, mPool);
        }