예제 #1
0
        void OnNotify(object sender, SvnNotifyEventArgs e)
        {
            // Do not catalog MergeBegin
            if (e.Action == SvnNotifyAction.MergeBegin)
            {
                return;
            }

            e.Detach();

            _mergeActions.Add(e);
        }
예제 #2
0
        static void _svn_wc_notify_func2(IntPtr baton, IntPtr notifyPtr, IntPtr pool)
        {
            var client = AprBaton <SvnClient> .Get(baton);

            var aprPool = new AprPool(pool, false);

            var notify = svn_wc_notify_t.__CreateInstance(notifyPtr);

            var ea = new SvnNotifyEventArgs(notify, client.CurrentCommandArgs.CommandType, aprPool);

            try
            {
                client.HandleClientNotify(ea);
            }
            finally
            {
                ea.Detach(false);

                aprPool.Dispose();
            }
        }
예제 #3
0
        void OnNotify(object sender, SvnNotifyEventArgs e)
        {
            // Do not catalog MergeBegin
            if (e.Action == SvnNotifyAction.MergeBegin)
                return;

            e.Detach();

            _mergeActions.Add(e);
        }
예제 #4
0
 /// <summary>
 /// Callback method to be used as ClientContext.NotifyCallback
 /// </summary>
 /// <param name="notification">An object containing information about the notification</param>
 public virtual void NotifyCallback(object sender, SvnNotifyEventArgs e)
 {
     e.Detach();
     _notifications.Add(e);
 }
예제 #5
0
 /// <summary>
 /// Callback method to be used as ClientContext.NotifyCallback
 /// </summary>
 /// <param name="notification">An object containing information about the notification</param>
 public virtual void NotifyCallback(object sender, SvnNotifyEventArgs e)
 {
     e.Detach();
     _notifications.Add(e);
 }