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

            e.Detach();

            _mergeActions.Add(e);
        }
Ejemplo n.º 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();
            }
        }
Ejemplo n.º 3
0
        void OnNotify(object sender, SvnNotifyEventArgs e)
        {
            // Do not catalog MergeBegin
            if (e.Action == SvnNotifyAction.MergeBegin)
                return;

            e.Detach();

            _mergeActions.Add(e);
        }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }