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

Commit59879a4

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

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
@@ -180,9 +180,11 @@ def remote_repo_creator(self):
180180
exceptGitCommandError,e:
181181
printstr(e)
182182
ifos.name=='nt':
183-
raiseAssertionError('git-daemon needs to run this test, but windows does not have one. Otherwise, run: git-daemon "%s"'%tempfile.gettempdir())
183+
raiseAssertionError('git-daemon needs to run this test, but windows does not have one. Otherwise, run: git-daemon "%s"'%os.path.dirname(_mktemp()))
184184
else:
185-
raiseAssertionError('Please start a git-daemon to run this test, execute: git-daemon "%s"'%tempfile.gettempdir())
185+
raiseAssertionError('Please start a git-daemon to run this test, execute: git-daemon "%s"'%os.path.dirname(_mktemp()))
186+
# END make assertion
187+
#END catch ls remote error
186188

187189
# adjust working dir
188190
prev_cwd=os.getcwd()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp