~vcs-imports/reprepro/trunk

« back to all changes in this revision

Viewing changes to docs/pdiff.example

  • Committer: Bernhard R. Link
  • Date: 2016-12-28 15:50:42 UTC
  • mfrom: (462.3.2)
  • Revision ID: git-v1:9f408a164edf32cad2f5737579fb4871f6fe211b
Tags: reprepro-debian-5.1.1-1
change version to 5.1.1-1 (unstable)
new bugfix release

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#   report some errors properly
23
23
# - uncompress this file if it is compressed
24
24
# - copy this file to your conf/ directory as "pdiff"
25
 
# - make it executeable
 
25
# - make it executable
26
26
# - add something like the following to the every distribution
27
27
#   in conf/distributions you want to have diffs for:
28
28
#
246
246
        f = open(outdir + "/Index.new", "w")
247
247
        upd.dump(f)
248
248
        f.close()
249
 
# Specifing the index should be enough, it contains checksums for the diffs
 
249
# Specifying the index should be enough, it contains checksums for the diffs
250
250
        os.write(3,(oldrelfile + ".diff/Index.new\n").encode("utf-8"))
251
251
 
252
252
################################################################################