Пример #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(SvnUrl pathOrUrl,
                   SvnRevision start, SvnRevision end,
                   BlameReceiver receiver, IntPtr baton)
 {
     Blame(pathOrUrl,
           start.ToSvnOpt(mPool), end.ToSvnOpt(mPool),
           receiver, baton, mContext, mPool);
 }
Пример #4
0
 public static void Merge(SvnUrl source1, SvnOptRevision revision1,
                          SvnUrl source2, SvnOptRevision revision2,
                          SvnPath targetWCPath, bool recurse,
                          bool ignoreAncestry, bool force, bool dryRun,
                          SvnClientContext ctx, AprPool pool)
 {
     InternalMerge(source1, revision1, source2, revision2, targetWCPath, recurse,
                   ignoreAncestry, force, dryRun, ctx, pool);
 }
Пример #5
0
 public void Merge(SvnUrl source1, SvnRevision revision1,
                   SvnUrl source2, SvnRevision revision2,
                   SvnPath targetWCPath, bool recurse,
                   bool ignoreAncestry, bool force, bool dryRun)
 {
     Merge(source1, revision1.ToSvnOpt(mPool),
           source2, revision2.ToSvnOpt(mPool),
           targetWCPath, recurse, ignoreAncestry, force, dryRun, mContext, mPool);
 }
Пример #6
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);
 }
Пример #7
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);
 }
Пример #8
0
        public static void Relocate(SvnPath dir, SvnUrl from, SvnUrl to,
                                    bool recurse,
                                    SvnClientContext ctx, AprPool pool)
        {
            Debug.WriteLine(String.Format("svn_client_relocate({0},{1},{2},{3},{4},{5})", dir, from, to, recurse, ctx, pool));
            SvnError err = Svn.svn_client_relocate(dir, from, to, (recurse ? 1 : 0), ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
        }
Пример #9
0
        public static AprString UuidFromUrl(SvnUrl url, SvnClientContext ctx, AprPool pool)
        {
            IntPtr s;

            Debug.Write(String.Format("svn_client_uuid_from_url({0},{1})...", url, ctx, pool));
            SvnError err = Svn.svn_client_uuid_from_url(out s, url, ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
            Debug.WriteLine(String.Format("Done({0})", s));
            return(s);
        }
Пример #10
0
        public static SvnClientCommitInfo Import(SvnPath path, SvnUrl url, bool nonrecursive,
                                                 SvnClientContext ctx, AprPool pool)
        {
            IntPtr commitInfo;

            Debug.Write(String.Format("svn_client_import({0},{1},{2},{3},{4})...", path, url, nonrecursive, ctx, pool));
            SvnError err = Svn.svn_client_import(out commitInfo, path, url, (nonrecursive ? 1 : 0),
                                                 ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
            Debug.WriteLine(String.Format("Done({0})", commitInfo));
            return(commitInfo);
        }
Пример #11
0
        public static SvnString RevPropGet(string propName, SvnUrl url,
                                           SvnOptRevision revision, out int setRev,
                                           SvnClientContext ctx, AprPool pool)
        {
            IntPtr s;

            Debug.Write(String.Format("svn_client_revprop_get({0},{1},{2},{3},{4})...", propName, url, revision, ctx, pool));
            SvnError err = Svn.svn_client_revprop_get(propName, out s, url, revision, out setRev,
                                                      ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
            Debug.WriteLine(String.Format("Done({0},{1})", s, setRev));
            return(s);
        }
Пример #12
0
        public static AprHash RevPropList(SvnUrl url,
                                          SvnOptRevision revision, out int setRev,
                                          SvnClientContext ctx, AprPool pool)
        {
            IntPtr h;

            Debug.Write(String.Format("svn_client_revprop_list({0},{1},{2},{3})...", url, revision, ctx, pool));
            SvnError err = Svn.svn_client_revprop_list(out h, url, revision, out setRev,
                                                       ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
            Debug.WriteLine(String.Format("Done({0},{1})", h, setRev));
            return(h);
        }
Пример #13
0
        public static int Switch(SvnPath path, SvnUrl url,
                                 SvnOptRevision revision,
                                 bool recurse, SvnClientContext ctx, AprPool pool)
        {
            int rev;

            Debug.Write(String.Format("svn_client_switch({0},{1},{2},{3},{4},{5})...", path, url, revision, recurse, ctx, pool));
            SvnError err = Svn.svn_client_switch(out rev, path, url,
                                                 revision,
                                                 (recurse ? 1 :0), ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
            Debug.WriteLine(String.Format("Done({0})", rev));
            return(rev);
        }
Пример #14
0
        public static void Diff(AprArray diffOptions,
                                SvnUrl path1, SvnOptRevision revision1,
                                SvnUrl 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, revision1, path2, revision2,
                                               (recurse ? 1 : 0), (ignoreAncestry ? 1 : 0),
                                               (noDiffDeleted ? 1 : 0), outFile, errFile,
                                               ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
        }
Пример #15
0
        public static int RevPropSet(string propName, SvnString propVal,
                                     SvnUrl url, SvnOptRevision revision, bool force,
                                     SvnClientContext ctx, AprPool pool)
        {
            int rev;

            Debug.Write(String.Format("svn_client_revprop_set({0},{1},{2},{3},{4},{5},{6})...", propName, propVal, url, revision, force, ctx, pool));
            SvnError err = Svn.svn_client_revprop_set(propName, propVal, url, revision,
                                                      out rev, (force ? 1 : 0),
                                                      ctx, pool);

            if (!err.IsNoError)
            {
                throw new SvnException(err);
            }
            Debug.WriteLine(String.Format("Done({0})", rev));
            return(rev);
        }
Пример #16
0
 public AprHash RevPropList(SvnUrl url, SvnRevision revision, out int setRev)
 {
     return RevPropList(url, revision.ToSvnOpt(mPool), out setRev, mContext, mPool);
 }
Пример #17
0
 public AprHash List(SvnUrl pathOrUrl, SvnRevision revision, bool recurse)
 {
     return(List(pathOrUrl, revision.ToSvnOpt(mPool), recurse, mContext, mPool));
 }
Пример #18
0
        public static void Cat(SvnStream stream, SvnUrl pathOrUrl,
							   SvnOptRevision revision, 
							   SvnClientContext ctx, AprPool pool)
        {
            InternalCat(stream, pathOrUrl, revision, ctx, pool);
        }
Пример #19
0
 public int Switch(string path, SvnUrl url, SvnRevision revision, bool recurse)
 {
     return Switch(new SvnPath(path,mPool), url, revision.ToSvnOpt(mPool), recurse,
                   mContext, mPool);
 }
Пример #20
0
        public static int RevPropSet(string propName, SvnString propVal,
								  	 SvnUrl url, SvnOptRevision revision, bool force,
								  	 SvnClientContext ctx, AprPool pool)
        {
            int rev;
            Debug.Write(String.Format("svn_client_revprop_set({0},{1},{2},{3},{4},{5},{6})...",propName,propVal,url,revision,force,ctx,pool));
            SvnError err = Svn.svn_client_revprop_set(propName, propVal, url, revision,
                                                      out rev, (force ? 1 : 0),
                                                      ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
            Debug.WriteLine(String.Format("Done({0})",rev));
            return(rev);
        }
Пример #21
0
 public static AprString UuidFromUrl(SvnUrl url, SvnClientContext ctx, AprPool pool)
 {
     IntPtr s;
     Debug.Write(String.Format("svn_client_uuid_from_url({0},{1})...",url,ctx,pool));
     SvnError err = Svn.svn_client_uuid_from_url(out s, url, ctx, pool);
     if( !err.IsNoError )
         throw new SvnException(err);
     Debug.WriteLine(String.Format("Done({0})",s));
     return(s);
 }
Пример #22
0
        public static void Diff(AprArray diffOptions,
								SvnUrl path1, SvnOptRevision revision1,
								SvnUrl 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, revision1, path2, revision2,
                                               (recurse ? 1 : 0), (ignoreAncestry ? 1 : 0),
                                               (noDiffDeleted ? 1 : 0), outFile, errFile,
                                               ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
        }
Пример #23
0
 public static AprHash PropList(SvnUrl target,
                                SvnOptRevision revision, bool recurse,
                                SvnClientContext ctx, AprPool pool)
 {
     return(InternalPropList(target, revision, recurse, ctx, pool));
 }
Пример #24
0
        public static SvnClientCommitInfo Copy(SvnUrl srcPath, SvnOptRevision srcRevision,
											   SvnUrl dstPath,
							   				   SvnClientContext ctx, AprPool pool)
        {
            return InternalCopy(srcPath, srcRevision, dstPath, ctx, pool);
        }
Пример #25
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);
        }
Пример #26
0
 public AprString UuidFromUrl(SvnUrl url)
 {
     return(UuidFromUrl(url, mContext, mPool));
 }
Пример #27
0
 public SvnUrl UrlFromPath(SvnUrl pathOrUrl)
 {
     return(UrlFromPath(pathOrUrl, mPool));
 }
Пример #28
0
 public void Cat(SvnStream stream, SvnUrl pathOrUrl, SvnRevision revision)
 {
     Cat(stream, pathOrUrl, revision.ToSvnOpt(mPool), mContext, mPool);
 }
Пример #29
0
 public static void PropSet(string propName, SvnString propVal, SvnUrl target,
                            bool recurse, AprPool pool)
 {
     InternalPropSet(propName, propVal, target, recurse, pool);
 }
Пример #30
0
        public static int Export(SvnUrl from, SvnPath to, 
								 SvnOptRevision revision, 
								 bool force, SvnClientContext ctx, AprPool pool)
        {
            return InternalExport(from, to, revision, force, ctx, pool);
        }
Пример #31
0
 public static AprHash PropGet(string propName, SvnUrl target,
                               SvnOptRevision revision, bool recurse,
                               SvnClientContext ctx, AprPool pool)
 {
     return(InternalPropGet(propName, target, revision, recurse, ctx, pool));
 }
Пример #32
0
        public static SvnClientCommitInfo Import(SvnPath path, SvnUrl url, bool nonrecursive,  
							   					 SvnClientContext ctx, AprPool pool)
        {
            IntPtr commitInfo;
            Debug.Write(String.Format("svn_client_import({0},{1},{2},{3},{4})...",path,url,nonrecursive,ctx,pool));
            SvnError err = Svn.svn_client_import(out commitInfo, path, url, (nonrecursive ? 1 : 0),
                                                 ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
            Debug.WriteLine(String.Format("Done({0})",commitInfo));
            return(commitInfo);
        }
Пример #33
0
 public AprHash RevPropList(SvnUrl url, SvnRevision revision, out int setRev)
 {
     return(RevPropList(url, revision.ToSvnOpt(mPool), out setRev, mContext, mPool));
 }
Пример #34
0
        public static AprHash List(SvnUrl pathOrUrl,
								   SvnOptRevision revision, bool recurse, 
								   SvnClientContext ctx, AprPool pool)
        {
            return InternalList(pathOrUrl, revision, recurse, ctx, pool);
        }
Пример #35
0
 public static SvnUrl UrlFromPath(SvnUrl pathOrUrl, AprPool pool)
 {
     return InternalUrlFromPath(pathOrUrl, pool);
 }
Пример #36
0
        public static void Merge(SvnUrl source1, SvnOptRevision revision1,
								 SvnUrl source2, SvnOptRevision revision2,
								 SvnPath targetWCPath, bool recurse,
								 bool ignoreAncestry, bool force, bool dryRun,
							     SvnClientContext ctx, AprPool pool)
        {
            InternalMerge(source1, revision1, source2, revision2, targetWCPath, recurse,
                          ignoreAncestry, force, dryRun, ctx, pool);
        }
Пример #37
0
 public SvnUrl UrlFromPath(SvnUrl pathOrUrl)
 {
     return UrlFromPath(pathOrUrl, mPool);
 }
Пример #38
0
 public static int Export(SvnUrl from, SvnPath to,
                          SvnOptRevision revision,
                          bool force, SvnClientContext ctx, AprPool pool)
 {
     return(InternalExport(from, to, revision, force, ctx, pool));
 }
Пример #39
0
        public static int Checkout(SvnUrl url, SvnPath path, 
								   SvnOptRevision revision, 
								   bool recurse, SvnClientContext ctx, AprPool pool)
        {
            int rev;
            Debug.Write(String.Format("svn_client_checkout({0},{1},{2},{3},{4},{5})...",url,path,revision,recurse,ctx,pool));
            SvnError err = Svn.svn_client_checkout(out rev, url, path,
                                                   revision,
                                                   (recurse ? 1 :0), ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
            Debug.WriteLine(String.Format("Done({0})",rev));
            return(rev);
        }
Пример #40
0
        public SvnString RevPropGet(string propName, SvnUrl url,
									SvnRevision revision, out int setRev)
        {
            return RevPropGet(propName, url, revision.ToSvnOpt(mPool), out setRev,
                              mContext, mPool);
        }
Пример #41
0
        public int RevPropSet(string propName, string propVal,
							  SvnUrl url, SvnRevision revision, bool force)
        {
            return RevPropSet(propName, new SvnString(propVal, mPool), url,
                              revision.ToSvnOpt(mPool), force, mContext, mPool);
        }
Пример #42
0
 public static SvnClientCommitInfo Copy(SvnUrl srcPath, SvnOptRevision srcRevision,
                                        SvnUrl dstPath,
                                        SvnClientContext ctx, AprPool pool)
 {
     return(InternalCopy(srcPath, srcRevision, dstPath, ctx, pool));
 }
Пример #43
0
 public static void Cat(SvnStream stream, SvnUrl pathOrUrl,
                        SvnOptRevision revision,
                        SvnClientContext ctx, AprPool pool)
 {
     InternalCat(stream, pathOrUrl, revision, ctx, pool);
 }
Пример #44
0
 public int Export(SvnUrl from, SvnPath to, SvnRevision revision, bool force)
 {
     return(Export(from, to, revision.ToSvnOpt(mPool), force, mContext, mPool));
 }
Пример #45
0
 public void Relocate(SvnPath dir, SvnUrl from, SvnUrl to, bool recurse)
 {
     Relocate(dir, from, to, recurse, mContext, mPool);
 }
Пример #46
0
 public AprString UuidFromUrl(SvnUrl url)
 {
     return UuidFromUrl(url, mContext, mPool);
 }
Пример #47
0
 public static SvnClientCommitInfo Move(SvnUrl srcPath, SvnOptRevision srcRevision,
                                        SvnUrl dstPath, bool force,
                                        SvnClientContext ctx, AprPool pool)
 {
     return(InternalMove(srcPath, srcRevision, dstPath, force, ctx, pool));
 }
Пример #48
0
 public AprHash PropList(SvnUrl target, SvnRevision revision, bool recurse)
 {
     return PropList(target, revision.ToSvnOpt(mPool), recurse, mContext, mPool);
 }
Пример #49
0
        public static void Relocate(SvnPath dir, SvnUrl from, SvnUrl to,
									bool recurse,
							        SvnClientContext ctx, AprPool pool)
        {
            Debug.WriteLine(String.Format("svn_client_relocate({0},{1},{2},{3},{4},{5})",dir,from,to,recurse,ctx,pool));
            SvnError err = Svn.svn_client_relocate(dir, from, to, (recurse ? 1 : 0), ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
        }
Пример #50
0
        public static SvnString RevPropGet(string propName, SvnUrl url,
										   SvnOptRevision revision, out int setRev, 
										   SvnClientContext ctx, AprPool pool)
        {
            IntPtr s;
            Debug.Write(String.Format("svn_client_revprop_get({0},{1},{2},{3},{4})...",propName,url,revision,ctx,pool));
            SvnError err = Svn.svn_client_revprop_get(propName, out s, url, revision, out setRev,
                                                      ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
            Debug.WriteLine(String.Format("Done({0},{1})",s,setRev));
            return(s);
        }
Пример #51
0
 public void PropSet(string propName, string propVal, SvnUrl target, bool recurse)
 {
     PropSet(propName, new SvnString(propVal, mPool), target, recurse, mPool);
 }
Пример #52
0
        public static AprHash RevPropList(SvnUrl url,
										  SvnOptRevision revision, out int setRev, 
										  SvnClientContext ctx, AprPool pool)
        {
            IntPtr h;
            Debug.Write(String.Format("svn_client_revprop_list({0},{1},{2},{3})...",url,revision,ctx,pool));
            SvnError err = Svn.svn_client_revprop_list(out h, url, revision, out setRev,
                                                       ctx, pool);
            if( !err.IsNoError )
                throw new SvnException(err);
            Debug.WriteLine(String.Format("Done({0},{1})",h,setRev));
            return(h);
        }
Пример #53
0
        public static SvnClientCommitInfo Move(SvnUrl srcPath, SvnOptRevision srcRevision,
											   SvnUrl dstPath, bool force,
							   				   SvnClientContext ctx, AprPool pool)
        {
            return InternalMove(srcPath, srcRevision, dstPath, force, ctx, pool);
        }
Пример #54
0
 public AprHash PropList(SvnUrl target, SvnRevision revision, bool recurse)
 {
     return(PropList(target, revision.ToSvnOpt(mPool), recurse, mContext, mPool));
 }
Пример #55
0
 public static AprHash List(SvnUrl pathOrUrl,
                            SvnOptRevision revision, bool recurse,
                            SvnClientContext ctx, AprPool pool)
 {
     return(InternalList(pathOrUrl, revision, recurse, ctx, pool));
 }
Пример #56
0
        public static AprHash PropGet(string propName, SvnUrl target,
									  SvnOptRevision revision, bool recurse, 
								  	  SvnClientContext ctx, AprPool pool)
        {
            return InternalPropGet(propName, target, revision, recurse, ctx, pool);
        }
Пример #57
0
 public static SvnUrl UrlFromPath(SvnUrl pathOrUrl, AprPool pool)
 {
     return(InternalUrlFromPath(pathOrUrl, pool));
 }
Пример #58
0
        public static AprHash PropList(SvnUrl target,
									   SvnOptRevision revision, bool recurse, 
								  	   SvnClientContext ctx, AprPool pool)
        {
            return InternalPropList(target, revision, recurse, ctx, pool);
        }
Пример #59
0
        public static void PropSet(string propName, SvnString propVal, SvnUrl target, 
								   bool recurse, AprPool pool)
        {
            InternalPropSet(propName, propVal, target, recurse, pool);
        }
Пример #60
0
        public AprHash PropGet(string propName, SvnUrl target,
							   SvnRevision revision, bool recurse)
        {
            return PropGet(propName, target, revision.ToSvnOpt(mPool), recurse,
                           mContext, mPool);
        }