Ubuntu Pastebin

Paste from blr at Wed, 8 Jul 2015 06:32:40 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
    diff_text = (
        "=== added directory 'foo/bar'\n"
        "=== modified file 'foo/bar/baz.py'\n" XXX: can a dirty header be associated with more than one file?
        "--- bar\t2009-08-26 15:53:34.000000000 -0400\n"
        "+++ bar\t1969-12-31 19:00:00.000000000 -0500\n"
        "@@ -1,3 +0,0 @@\n"
        "-\xc3\xa5\n"
        "-b\n"
        "-c\n" 
        "--- baz\t1969-12-31 19:00:00.000000000 -0500\n" XXX: in the real world, this would always be preceded with a dirty header and a blank line?
        "+++ baz\t2009-08-26 15:53:57.000000000 -0400\n"
        "@@ -0,0 +1,2 @@\n"
        "+a\n"
        "+b\n"
        "@@ -1,2 +0,0 @@\n"
        "-x\n"
        "-y\n"
        "--- foo\t2009-08-26 15:53:23.000000000 -0400\n"
        "+++ foo\t2009-08-26 15:56:43.000000000 -0400\n"
        "@@ -1,3 +1,4 @@\n"
        " a\n"
        "-b\n"
        " c\n"
        "+d\n"
        "+e\n"
        " \n"
        "=== modified file 'fulango.py'\n"
        "--- fulano.py\t2014-08-26 15:53:34.000000000 -0400\n"
        "+++ fulano.py\t2015-12-31 19:00:00.000000000 -0500\n"
        "@@ -1,3 +1,4 @@\n"
        " a\n"
        "-fulano\n"
        " c\n"
        "+mengano\n"
        "+zutano\n")
Download as text