Repository navigation
detect renames in "git diff --raw" output - #62
Merged
Byron merged 2 commits into
gitpython-developers:master from
Pfiver:p2000
Jun 16, 2012
Merged
Conversation
Copy link
Copy Markdown
potentially fixes #36
detect renames in "git diff --raw" output
8dc98aa
potentially fixes gitpython-developers#36
Copy link
Copy Markdown
Member
|
Thank you.
Can you please add/update the test suite to verify it is working ?
|
add tests for git.diff.Diff._index_from_raw_format()
3da67f3
Copy link
Copy Markdown
Author
|
The tests are passing. However, I had to temporarily add
@classmethod
def setup_class(cls):
cls.setUpAll()
to the TestDiff class. Otherwise I get an
"AttributeError: 'TestDiff' object has no attribute 'rorepo'" for every test
Any clues on that? What version of nose are you using? I'm using nose 1.1.2 atm.
|
Copy link
Copy Markdown
Member
|
I use nosetests version 1.0.0, but I would wonder why they change the API in such a manner that causes tests to break.
Can you also add a diff output containing a rename, and add it to the test suite ?
|
Copy link
Copy Markdown
Author
Copy link
Copy Markdown
Member
|
I am using python 2.4 to 2.6, these are the versions I am testing with at least.
Besides that, you can ignore the errors I believe, as they relate to a package you have not installed. Of course, these tests should detect that and be skipped automatically, but its not related to this issue.
The master branch is heavily WIP, even though its stale for a while now. Branch 0.3 is the one most people would be using, I wouldn't think that master is in any way ready for production, at least I am not using it in production either.
As there already seem to be rename tests, it should be okay to just merge it in.
Thanks for your effort !
|
Byron
added a commit
that referenced
this pull request
Jun 16, 2012
Merge pull request #62 from P2000/p2000
864cf1a
detect renames in "git diff --raw" output
Byron
merged commit
864cf1a
into
gitpython-developers : master
Jun 16, 2012
Copy link
Copy Markdown
Author
marcusrbrown
mentioned this pull request
Jan 11, 2013
Fix tests that are broken under Python 2.7.
#86
Closed
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment
Labels
None yet
2 participants