We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In example, vcs has file 'setup.py' at repository. If requested, git backend would return this file for path 'foo/bar/setup.py'.
{{{ import vcs repo = vcs.get_repo('git', 'vcs') f = repo.request('setup.py')
last = repo.get_changeset() f2 = last.get_node('setup.py') f is f2 # True
f3 = last.get_node('foo/bar/setup.py') f is f3 # False f.content == f3.content # True }}}
It seems the problem lies in _get_hex_for_path GitChangeset's method implementation.
Reference: https://bitbucket.org/marcinkuzminski/vcs/issues/23/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In example, vcs has file 'setup.py' at repository. If requested, git backend would return this file for path 'foo/bar/setup.py'.
{{{
import vcs
repo = vcs.get_repo('git', 'vcs')
f = repo.request('setup.py')
last = repo.get_changeset()
f2 = last.get_node('setup.py')
f is f2 # True
Mercurial backend raises ChangesetError here, as supposed
f3 = last.get_node('foo/bar/setup.py')
f is f3 # False
f.content == f3.content # True
}}}
It seems the problem lies in _get_hex_for_path GitChangeset's method implementation.
Reference: https://bitbucket.org/marcinkuzminski/vcs/issues/23/
The text was updated successfully, but these errors were encountered: