Преглед изворни кода

porcelain add and commit correctly

Kyle Kelly пре 9 година
родитељ
комит
8c89e8102c
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      docs/tutorial/porcelain.txt

+ 2 - 2
docs/tutorial/porcelain.txt

@@ -30,5 +30,5 @@ Commit changes
 
   >>> r = porcelain.init("testrepo")
   >>> open("testrepo/testfile", "w").write("data")
-  >>> porcelain.add(r, "testrepo/testfile")
-  >>> porcelain.commit(r, "A sample commit")
+  >>> porcelain.add(r, "testfile")
+  >>> porcelain.commit(r, b"A sample commit")