Parcourir la source

Cancels tokens because of vscode api change

See https://github.com/Microsoft/vscode/pull/46102
main
Eric Amodio il y a 6 ans
Parent
révision
965f7f87ce
12 fichiers modifiés avec 15 ajouts et 11 suppressions
  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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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 Voir le fichier

@ -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();
}
}
}

Chargement…
Annuler
Enregistrer