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

Commite3e8ce6

Browse files
committed
Somemore debugging for rev-parse issue
1 parent17f245c commite3e8ce6

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

‎.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ install:
1313
-pip install coveralls
1414

1515
# for now we have to make sure there is a master branch - at some point we should just have it by default
16-
-git branch master 0.3
16+
-git branch master
1717

18-
# generate some reflog as git-python tests need it
18+
# generate some reflog as git-python tests need it (in 0.3)
1919
-git reset --hard HEAD~1
2020
-git reset --hard HEAD~1
2121
-git reset --hard HEAD~1
@@ -30,10 +30,6 @@ install:
3030
# as commits are performed with the default user, it needs to be set for travis too
3131
-git config --global user.email "travis@ci.com"
3232
-git config --global user.name "Travis Runner"
33-
34-
# debugging
35-
-find .git/logs
36-
-cat .git/logs/HEAD
3733
script:
3834
-nosetests -v --with-coverage
3935
after_success:

‎git/test/test_repo.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,15 +581,17 @@ def test_rev_parse(self):
581581
assertrev_parse(refspec+":CHANGES").type=='blob'
582582
# END operate on non-detached head
583583

584-
# the last position
585-
assertrev_parse('@{1}')!=head.commit
586-
587584
# position doesn't exist
588585
self.failUnlessRaises(IndexError,rev_parse,'@{10000}')
589586

590587
# currently, nothing more is supported
591588
self.failUnlessRaises(NotImplementedError,rev_parse,"@{1 week ago}")
592589

590+
# the last position
591+
# For some reason, this test fails on travis - lets gather more information
592+
printself.rorepo
593+
assertrev_parse('@{1}')!=head.commit
594+
593595
deftest_repo_odbtype(self):
594596
target_type=GitDB
595597
ifsys.version_info[1]<5:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp