/// Updates all tree listings by running three git commands.
        private static void UpdateTrees()
        {
            if (string.IsNullOrEmpty(mRepositoryLocation))
            {
                mRepositoryLocation = Git.RepositoryLocation();
            }

            // Get list of files
            VersionControl.FindFiles(OnFindFiles);

            // Get list of branches
            VersionControl.FindBranches(OnFindBranches);
        }
        /// Updates all tree listings by running three git commands.
        private static void UpdateTrees()
        {
            if (string.IsNullOrEmpty(mRepositoryLocation) && !_runningLocationProcess)
            {
                _runningLocationProcess = true;
                VersionControl.GetRepositoryLocation(OnRepositoryLocation);
            }

            // Get list of files
            VersionControl.FindFiles(OnFindFiles);

            // Get list of branches
            VersionControl.FindBranches(OnFindBranches);
        }
Пример #3
0
 static void GUITest_BranchList()
 {
     UVCProcessPopup.Init(VersionControl.FindBranches(CommandLine.EmptyHandler), false, true, OnFindBranches_GUI, false);
 }
Пример #4
0
 static void CoreTest_BranchList()
 {
     Debug.Log("Getting branch list...");
     VersionControl.FindBranches(OnFindBranches);
 }