Exemple #1
0
        public SyncResults CheckinAndPullAndMerge(RepositorySetup otherUser)
        {
            var options = new SyncOptions
            {
                DoMergeWithOthers = true,
                DoPullFromOthers  = true,
                DoSendToOthers    = true
            };

            if (otherUser != null)
            {
                options.RepositorySourcesToTry.Add(otherUser.GetRepositoryAddress());
            }

            return(SyncWithOptions(options));
        }
Exemple #2
0
        public SyncResults CheckinAndPullAndMerge(RepositorySetup otherUser)
        {
            var options = new SyncOptions
                            {
                                DoMergeWithOthers = true,
                                DoPullFromOthers = true,
                                DoSendToOthers = true
                            };

            if(otherUser!=null)
                options.RepositorySourcesToTry.Add(otherUser.GetRepositoryAddress());

            return SyncWithOptions(options);
        }