Package: tla
Version: 1.3.5+dfsg-9+b1
Severity: normal


When using "tagline" id-tagging-method, if a file has an id specified by
an arch-tag: line and that line has no terminating newline (obviously
this only happens if it's the last line in the file), then tla chops off
the last character of the file-id, which causes it to think it's a
different file.

E.g., if I have a file "foo" with contents:

   Random text
   arch-tag: xyz

and the final line has no terminating newline, then tla thinks the
file's id is "xy".

I suppose it's probably assuming there's a newline and just blindly
chopping off the last character of the line to remove it.

[This problem unfortunately crops up rather often for me, as people
using MS apps like VS seem to routinely delete the file-final newline
for some reason.  If I fail to notice in time, I end up committing a
changeset which deletes the old file and adds a "new" file, and that
generally screws up merging; it's actually worse than having the
arch-tag: line deleted entirely, as at least "tla tree-lint" will tell
you about that...]

Thanks,

-Miles


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tla depends on:
ii  gawk                      1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii  libc6                     2.5-1          GNU C Library: Shared libraries
ii  patch                     2.5.9-4        Apply a diff file to an original

Versions of packages tla recommends:
pn  tla-doc                       <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to