Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
N
Nano API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
3
Snippets
Groups
Projects
Show more breadcrumbs
Michal Tichý
Nano API
Compare revisions
v0.3.14 to v0.3.15
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
mtichy/nano-api
Select target project
No results found
v0.3.15
Select Git revision
Branches
ExcelWriter
master
v0.3
Tags
0.3.0
v0.1.0-beta
v0.1.1-beta
v0.1.2-beta
v0.1.3-beta
v0.1.4-beta
v0.2.0-beta
v0.2.1-beta
v0.2.2-beta
v0.2.3-beta
v0.3.0-alpha
v0.3.0-beta
v0.3.1
v0.3.10
v0.3.11
v0.3.12
v0.3.13
v0.3.14
v0.3.15
v0.3.16
v0.3.17
v0.3.18
v0.3.19
v0.3.2
v0.3.20
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.4.0
v0.4.1
v0.4.2
38 results
Swap
Target
mtichy/nano-api
Select target project
mtichy/nano-api
1 result
v0.3.14
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Support for rollback unwanted work in Command
· c05c4707
Michal Tichý
authored
5 years ago
c05c4707
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Command/BaseCommand.php
+5
-0
5 additions, 0 deletions
src/Command/BaseCommand.php
with
5 additions
and
0 deletions
src/Command/BaseCommand.php
View file @
c05c4707
...
...
@@ -51,6 +51,11 @@ abstract class BaseCommand
catch
(
ConnectionException
$e
)
{
/* nevermind */
}
}
protected
function
rollbackTransaction
():
void
{
$this
->
env
()
->
em
()
->
rollback
();
}
public
function
run
(
InputInterface
$input
,
OutputInterface
$output
)
{
try
{
...
...
This diff is collapsed.
Click to expand it.