Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
git-repo
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux-tools
git-repo
Commits
17cad9d4
Commit
17cad9d4
authored
Apr 08, 2013
by
Matthias Putz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added wait() to external link creation calls + fixed new byte stream issue
parent
b61a606d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
portable.py
portable.py
+2
-2
upload.py
subcmds/upload.py
+1
-1
No files found.
portable.py
View file @
17cad9d4
...
@@ -57,12 +57,12 @@ def os_link(src, dst):
...
@@ -57,12 +57,12 @@ def os_link(src, dst):
cmd
=
'cmd /c mklink /D "
%
s" "
%
s"'
%
(
dst
,
src
)
cmd
=
'cmd /c mklink /D "
%
s" "
%
s"'
%
(
dst
,
src
)
if
IsTrace
():
if
IsTrace
():
Trace
(
cmd
)
Trace
(
cmd
)
subprocess
.
Popen
(
cmd
,
stdout
=
subprocess
.
PIPE
)
subprocess
.
Popen
(
cmd
,
stdout
=
subprocess
.
PIPE
)
.
wait
()
else
:
else
:
cmd
=
'cmd /c mklink "
%
s" "
%
s"'
%
(
dst
,
src
)
cmd
=
'cmd /c mklink "
%
s" "
%
s"'
%
(
dst
,
src
)
if
IsTrace
():
if
IsTrace
():
Trace
(
cmd
)
Trace
(
cmd
)
subprocess
.
Popen
(
cmd
,
stdout
=
subprocess
.
PIPE
)
subprocess
.
Popen
(
cmd
,
stdout
=
subprocess
.
PIPE
)
.
wait
()
def
removeReadOnlyFilesHandler
(
fn
,
path
,
excinfo
):
def
removeReadOnlyFilesHandler
(
fn
,
path
,
excinfo
):
removeReadOnlyFiles
(
fn
,
path
)
removeReadOnlyFiles
(
fn
,
path
)
...
...
subcmds/upload.py
View file @
17cad9d4
...
@@ -240,7 +240,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
...
@@ -240,7 +240,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
else
x
else
x
for
x
in
script
]
for
x
in
script
]
script
=
Editor
.
EditString
(
"
\n
"
.
join
(
script
))
.
split
(
"
\n
"
)
script
=
portable
.
stream2str
(
Editor
.
EditString
(
"
\n
"
.
join
(
script
)
))
.
split
(
"
\n
"
)
project_re
=
re
.
compile
(
r'^#?\s*project\s*([^\s]+)/:$'
)
project_re
=
re
.
compile
(
r'^#?\s*project\s*([^\s]+)/:$'
)
branch_re
=
re
.
compile
(
r'^\s*branch\s*([^\s(]+)\s*\(.*'
)
branch_re
=
re
.
compile
(
r'^\s*branch\s*([^\s(]+)\s*\(.*'
)
...
...
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