Ejemplo n.º 1
0
        public void TypicalUsage()
        {
            UpdateLiftFile(LiftExportPath);

            ProjectSyncInfo projectInfo = new ProjectSyncInfo();

            projectInfo.IncludePatterns.Add(@"**/*.lift");

            SyncOptions options = new SyncOptions();

            options.CheckinDescription = "Some dictionary work.";
            options.DoPullFromOthers   = false;
            options.DoMergeWithOthers  = false;

            SyncManager chorus = SyncManager.FromChildPath(LiftExportPath,
                                                           Progress, OurUsersName);

            chorus.SyncNow(projectInfo, options);
            ImportLiftFile(LiftExportPath);
        }