Esempio n. 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);
 }
Esempio n. 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);
        }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
            }
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
            }
        }
Esempio n. 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);
        }
Esempio n. 16
0
 public AprHash RevPropList(SvnUrl url, SvnRevision revision, out int setRev)
 {
     return RevPropList(url, revision.ToSvnOpt(mPool), out setRev, mContext, mPool);
 }
Esempio n. 17
0
 public AprHash List(SvnUrl pathOrUrl, SvnRevision revision, bool recurse)
 {
     return(List(pathOrUrl, revision.ToSvnOpt(mPool), recurse, mContext, mPool));
 }
Esempio n. 18
0
        public static void Cat(SvnStream stream, SvnUrl pathOrUrl,
							   SvnOptRevision revision, 
							   SvnClientContext ctx, AprPool pool)
        {
            InternalCat(stream, pathOrUrl, revision, ctx, pool);
        }
Esempio n. 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);
 }
Esempio n. 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);
        }
Esempio n. 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);
 }
Esempio n. 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);
        }
Esempio n. 23
0
 public static AprHash PropList(SvnUrl target,
                                SvnOptRevision revision, bool recurse,
                                SvnClientContext ctx, AprPool pool)
 {
     return(InternalPropList(target, revision, recurse, ctx, pool));
 }
Esempio n. 24
0
        public static SvnClientCommitInfo Copy(SvnUrl srcPath, SvnOptRevision srcRevision,
											   SvnUrl dstPath,
							   				   SvnClientContext ctx, AprPool pool)
        {
            return InternalCopy(srcPath, srcRevision, dstPath, ctx, pool);
        }
Esempio n. 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);
        }
Esempio n. 26
0
 public AprString UuidFromUrl(SvnUrl url)
 {
     return(UuidFromUrl(url, mContext, mPool));
 }
Esempio n. 27
0
 public SvnUrl UrlFromPath(SvnUrl pathOrUrl)
 {
     return(UrlFromPath(pathOrUrl, mPool));
 }
Esempio n. 28
0
 public void Cat(SvnStream stream, SvnUrl pathOrUrl, SvnRevision revision)
 {
     Cat(stream, pathOrUrl, revision.ToSvnOpt(mPool), mContext, mPool);
 }
Esempio n. 29
0
 public static void PropSet(string propName, SvnString propVal, SvnUrl target,
                            bool recurse, AprPool pool)
 {
     InternalPropSet(propName, propVal, target, recurse, pool);
 }
Esempio n. 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);
        }
Esempio n. 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));
 }
Esempio n. 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);
        }
Esempio n. 33
0
 public AprHash RevPropList(SvnUrl url, SvnRevision revision, out int setRev)
 {
     return(RevPropList(url, revision.ToSvnOpt(mPool), out setRev, mContext, mPool));
 }
Esempio n. 34
0
        public static AprHash List(SvnUrl pathOrUrl,
								   SvnOptRevision revision, bool recurse, 
								   SvnClientContext ctx, AprPool pool)
        {
            return InternalList(pathOrUrl, revision, recurse, ctx, pool);
        }
Esempio n. 35
0
 public static SvnUrl UrlFromPath(SvnUrl pathOrUrl, AprPool pool)
 {
     return InternalUrlFromPath(pathOrUrl, pool);
 }
Esempio n. 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);
        }
Esempio n. 37
0
 public SvnUrl UrlFromPath(SvnUrl pathOrUrl)
 {
     return UrlFromPath(pathOrUrl, mPool);
 }
Esempio n. 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));
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 42
0
 public static SvnClientCommitInfo Copy(SvnUrl srcPath, SvnOptRevision srcRevision,
                                        SvnUrl dstPath,
                                        SvnClientContext ctx, AprPool pool)
 {
     return(InternalCopy(srcPath, srcRevision, dstPath, ctx, pool));
 }
Esempio n. 43
0
 public static void Cat(SvnStream stream, SvnUrl pathOrUrl,
                        SvnOptRevision revision,
                        SvnClientContext ctx, AprPool pool)
 {
     InternalCat(stream, pathOrUrl, revision, ctx, pool);
 }
Esempio n. 44
0
 public int Export(SvnUrl from, SvnPath to, SvnRevision revision, bool force)
 {
     return(Export(from, to, revision.ToSvnOpt(mPool), force, mContext, mPool));
 }
Esempio n. 45
0
 public void Relocate(SvnPath dir, SvnUrl from, SvnUrl to, bool recurse)
 {
     Relocate(dir, from, to, recurse, mContext, mPool);
 }
Esempio n. 46
0
 public AprString UuidFromUrl(SvnUrl url)
 {
     return UuidFromUrl(url, mContext, mPool);
 }
Esempio n. 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));
 }
Esempio n. 48
0
 public AprHash PropList(SvnUrl target, SvnRevision revision, bool recurse)
 {
     return PropList(target, revision.ToSvnOpt(mPool), recurse, mContext, mPool);
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 51
0
 public void PropSet(string propName, string propVal, SvnUrl target, bool recurse)
 {
     PropSet(propName, new SvnString(propVal, mPool), target, recurse, mPool);
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 54
0
 public AprHash PropList(SvnUrl target, SvnRevision revision, bool recurse)
 {
     return(PropList(target, revision.ToSvnOpt(mPool), recurse, mContext, mPool));
 }
Esempio n. 55
0
 public static AprHash List(SvnUrl pathOrUrl,
                            SvnOptRevision revision, bool recurse,
                            SvnClientContext ctx, AprPool pool)
 {
     return(InternalList(pathOrUrl, revision, recurse, ctx, pool));
 }
Esempio n. 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);
        }
Esempio n. 57
0
 public static SvnUrl UrlFromPath(SvnUrl pathOrUrl, AprPool pool)
 {
     return(InternalUrlFromPath(pathOrUrl, pool));
 }
Esempio n. 58
0
        public static AprHash PropList(SvnUrl target,
									   SvnOptRevision revision, bool recurse, 
								  	   SvnClientContext ctx, AprPool pool)
        {
            return InternalPropList(target, revision, recurse, ctx, pool);
        }
Esempio n. 59
0
        public static void PropSet(string propName, SvnString propVal, SvnUrl target, 
								   bool recurse, AprPool pool)
        {
            InternalPropSet(propName, propVal, target, recurse, pool);
        }
Esempio n. 60
0
        public AprHash PropGet(string propName, SvnUrl target,
							   SvnRevision revision, bool recurse)
        {
            return PropGet(propName, target, revision.ToSvnOpt(mPool), recurse,
                           mContext, mPool);
        }