Преглед на файлове

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")