equal
deleted
inserted
replaced
128 continue |
128 continue |
129 seen.add(f) |
129 seen.add(f) |
130 data = c[f].data() |
130 data = c[f].data() |
131 if not util.binary(data) and newline in data: |
131 if not util.binary(data) and newline in data: |
132 if not halt: |
132 if not halt: |
133 ui.warn(_('Attempt to commit or push text file(s) ' |
133 ui.warn(_('attempt to commit or push text file(s) ' |
134 'using %s line endings\n') % |
134 'using %s line endings\n') % |
135 newlinestr[newline]) |
135 newlinestr[newline]) |
136 ui.warn(_('in %s: %s\n') % (short(c.node()), f)) |
136 ui.warn(_('in %s: %s\n') % (short(c.node()), f)) |
137 halt = True |
137 halt = True |
138 if halt and hooktype == 'pretxnchangegroup': |
138 if halt and hooktype == 'pretxnchangegroup': |