Skip to content

Commit

Permalink
Ugly fix for a doctest in "docs/tutorial/repo.txt" to account for dif…
Browse files Browse the repository at this point in the history
…ferent

file path separators.
  • Loading branch information
kankri committed Jan 18, 2012
1 parent 3724fbc commit 5d774e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial/repo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down

0 comments on commit 5d774e5

Please sign in to comment.