Permalink
Browse files

Ugly fix for a doctest in "docs/tutorial/repo.txt" to account for dif…

…ferent

file path separators.
  • Loading branch information...
1 parent 90c0c80 commit ac350b129d9988e0a9d7a076ee97ab52f86f93c2 @kankri kankri committed Jan 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/tutorial/repo.txt
@@ -52,8 +52,8 @@ so only non-bare repositories will have an index, too. To open the index, simply
call::
>>> index = repo.open_index()
- >>> index
- Index('myrepo/.git/index')
+ >>> repr(index).replace('\\\\', '/')
+ "Index('myrepo/.git/index')"
Since the repository was just created, the index will be empty::

0 comments on commit ac350b1

Please sign in to comment.