972
edits
m (Bot: Replace deprecated source tag with syntaxhighlight) |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
||
Line 83:
This file contains four functions as described in the comments. It's still nothing VCS-specific.
<
# This function reads <filename> into a list of lines.
# The trailing '\n' character of each line is discarded.
Line 109:
lines = [" ".join(wordline) for wordline in wordlines]
writelines(filename, lines)
</syntaxhighlight>
==== init.py ====
Line 137:
This file contains code to create an empty branch. You should also make it executable.
<
#! /usr/bin/python
Line 168:
if __name__ == "__main__":
main()
</syntaxhighlight>
==== commit.py ====
Line 176:
You should also make this file executable.
<
#! /usr/bin/python
Line 303:
if __name__ == "__main__":
main()
</syntaxhighlight>
==== fsck.py ====
Line 311:
It is also quite complex, I hope it is correct and that I explained stuff well in the comments. Again, make it executable.
<
#! /usr/bin/python
Line 427:
if __name__ == "__main__":
main()
</syntaxhighlight>
==== merge.py ====
|