Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7bc59ab

Browse files
committed
Improved debug assertion to provide proper path on which to run a git daemon
1 parent24bc841 commit7bc59ab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎git/test/lib/helper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,11 @@ def remote_repo_creator(self):
165165
exceptGitCommandError,e:
166166
printstr(e)
167167
ifos.name=='nt':
168-
raiseAssertionError('git-daemon needs to run this test, but windows does not have one. Otherwise, run: git-daemon "%s"'%tempfile.gettempdir())
168+
raiseAssertionError('git-daemon needs to run this test, but windows does not have one. Otherwise, run: git-daemon "%s"'%os.path.dirname(_mktemp()))
169169
else:
170-
raiseAssertionError('Please start a git-daemon to run this test, execute: git-daemon "%s"'%tempfile.gettempdir())
170+
raiseAssertionError('Please start a git-daemon to run this test, execute: git-daemon "%s"'%os.path.dirname(_mktemp()))
171+
# END make assertion
172+
#END catch ls remote error
171173

172174
# adjust working dir
173175
prev_cwd=os.getcwd()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp