Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.recipe.build
Commits
81a4a5c0
Commit
81a4a5c0
authored
Jul 07, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitclone: fix typo with uncommitted changes
parent
4985116e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.rst
README.rst
+1
-1
slapos/recipe/gitclone.py
slapos/recipe/gitclone.py
+1
-1
No files found.
README.rst
View file @
81a4a5c0
...
@@ -843,7 +843,7 @@ In case of uninstall, buildout will keep the repository directory::
...
@@ -843,7 +843,7 @@ In case of uninstall, buildout will keep the repository directory::
>>> print(system(buildout))
>>> print(system(buildout))
Uninstalling git-clone.
Uninstalling git-clone.
Running uninstall recipe.
Running uninstall recipe.
You have uncommited changes in /sample-buildout/parts/git-clone. This folder will be left as is.
You have uncommit
t
ed changes in /sample-buildout/parts/git-clone. This folder will be left as is.
Installing git-clone.
Installing git-clone.
destination directory already exists.
destination directory already exists.
...
...
...
...
slapos/recipe/gitclone.py
View file @
81a4a5c0
...
@@ -311,7 +311,7 @@ def uninstall(name, options):
...
@@ -311,7 +311,7 @@ def uninstall(name, options):
cwd
=
options
[
'location'
],
cwd
=
options
[
'location'
],
stdout
=
subprocess
.
PIPE
)
stdout
=
subprocess
.
PIPE
)
if
p
.
communicate
()[
0
].
strip
():
if
p
.
communicate
()[
0
].
strip
():
print
(
"You have uncommited changes in %s."
print
(
"You have uncommit
t
ed changes in %s."
" This folder will be left as is."
%
options
[
'location'
])
" This folder will be left as is."
%
options
[
'location'
])
force_keep
=
True
force_keep
=
True
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment