Procházet zdrojové kódy

Cancels tokens because of vscode api change

See https://github.com/Microsoft/vscode/pull/46102
main
Eric Amodio před 6 roky
rodič
revize
965f7f87ce
12 změnil soubory, kde provedl 15 přidání a 11 odebrání
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/diffBranchWithBranch.ts
  3. +1
    -1
      src/commands/diffDirectory.ts
  4. +1
    -1
      src/commands/diffWithBranch.ts
  5. +1
    -1
      src/commands/diffWithRevision.ts
  6. +1
    -1
      src/commands/openFileRevision.ts
  7. +1
    -1
      src/commands/showCommitSearch.ts
  8. +1
    -1
      src/commands/showQuickBranchHistory.ts
  9. +1
    -1
      src/commands/showQuickFileHistory.ts
  10. +1
    -1
      src/commands/showQuickStashList.ts
  11. +1
    -1
      src/commands/stashApply.ts
  12. +1
    -1
      src/quickPicks/commonQuickPicks.ts

+ 4
- 0
CHANGELOG.md Zobrazit soubor

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Fixed
- Fixes issues where quick pick menu progress indicators will get stuck in some cases because of a vscode api change in [Microsoft/vscode#46102](https://github.com/Microsoft/vscode/pull/46102)
## [8.2.0] - 2018-03-31
### Added
- Adds new stand-alone *GitLens History* explorer to visualize the history of the current file — undocked version of the *GitLens* explorer history view

+ 1
- 1
src/commands/diffBranchWithBranch.ts Zobrazit soubor

@ -84,7 +84,7 @@ export class DiffBranchWithBranchCommand extends ActiveEditorCommand {
return window.showErrorMessage(`Unable to open branch compare. See output channel for more details`);
}
finally {
progressCancellation && progressCancellation.dispose();
progressCancellation && progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/diffDirectory.ts Zobrazit soubor

@ -93,7 +93,7 @@ export class DiffDirectoryCommand extends ActiveEditorCommand {
return window.showErrorMessage(`Unable to open directory compare. See output channel for more details`);
}
finally {
progressCancellation && progressCancellation.dispose();
progressCancellation && progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/diffWithBranch.ts Zobrazit soubor

@ -85,7 +85,7 @@ export class DiffWithBranchCommand extends ActiveEditorCommand {
return commands.executeCommand(Commands.DiffWith, diffArgs);
}
finally {
progressCancellation.dispose();
progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/diffWithRevision.ts Zobrazit soubor

@ -115,7 +115,7 @@ export class DiffWithRevisionCommand extends ActiveEditorCommand {
return window.showErrorMessage(`Unable to open compare. See output channel for more details`);
}
finally {
progressCancellation.dispose();
progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/openFileRevision.ts Zobrazit soubor

@ -137,7 +137,7 @@ export class OpenFileRevisionCommand extends ActiveEditorCommand {
return window.showErrorMessage(`Unable to open file revision. See output channel for more details`);
}
finally {
progressCancellation && progressCancellation.dispose();
progressCancellation && progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/showCommitSearch.ts Zobrazit soubor

@ -160,7 +160,7 @@ export class ShowCommitSearchCommand extends ActiveEditorCachedCommand {
return window.showErrorMessage(`Unable to find commits. See output channel for more details`);
}
finally {
progressCancellation.dispose();
progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/showQuickBranchHistory.ts Zobrazit soubor

@ -83,7 +83,7 @@ export class ShowQuickBranchHistoryCommand extends ActiveEditorCachedCommand {
return window.showErrorMessage(`Unable to show branch history. See output channel for more details`);
}
finally {
progressCancellation && progressCancellation.dispose();
progressCancellation && progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/showQuickFileHistory.ts Zobrazit soubor

@ -107,7 +107,7 @@ export class ShowQuickFileHistoryCommand extends ActiveEditorCachedCommand {
return window.showErrorMessage(`Unable to show file history. See output channel for more details`);
}
finally {
progressCancellation.dispose();
progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/showQuickStashList.ts Zobrazit soubor

@ -62,7 +62,7 @@ export class ShowQuickStashListCommand extends ActiveEditorCachedCommand {
return window.showErrorMessage(`Unable to show stashed changes. See output channel for more details`);
}
finally {
progressCancellation.dispose();
progressCancellation.cancel();
}
}
}

+ 1
- 1
src/commands/stashApply.ts Zobrazit soubor

@ -73,7 +73,7 @@ export class StashApplyCommand extends Command {
args.stashItem = pick.commit as GitStashCommit;
}
finally {
progressCancellation.dispose();
progressCancellation.cancel();
}
}

+ 1
- 1
src/quickPicks/commonQuickPicks.ts Zobrazit soubor

@ -247,7 +247,7 @@ export class ShowBranchesAndTagsQuickPickItem extends CommandQuickPickItem {
return BranchesAndTagsQuickPick.show(branches, tags, this.placeHolder, { progressCancellation: progressCancellation, goBackCommand: this.goBackCommand });
}
finally {
progressCancellation.dispose();
progressCancellation.cancel();
}
}
}

Načítá se…
Zrušit
Uložit