2004-09-20 Akim Demaille <akim(a)epita.fr>
* src/checkin (get_user_info): Fix the use of getpwnam.
* doc/lrdetools.texi: Space changes.
Index: ChangeLog
===================================================================
--- ChangeLog (revision 102)
+++ ChangeLog (working copy)
@@ -1,5 +1,10 @@
2004-09-20 Akim Demaille <akim(a)epita.fr>
+ * src/checkin (get_user_info): Fix the use of getpwnam.
+ * doc/lrdetools.texi: Space changes.
+
+2004-09-20 Akim Demaille <akim(a)epita.fr>
+
* prcs2svn/prcs2svn.py (string_unescape): Remove, useless.
* prcs2svn/prcs.py: s/\([a-z_]*\) * = *\1 *\+/\1 +=/.
(ProjectScanner.get_token): Do not escape the strings! This is not
Index: src/checkin
===================================================================
--- src/checkin (revision 96)
+++ src/checkin (working copy)
@@ -128,7 +128,9 @@
$params{"FULLNAME"} = $ENV{"FULLNAME"};
if (not defined $params{"FULLNAME"})
{
- $params{"FULLNAME"} = getpwnam $ENV{"USER"}[6];
+ $params{"FULLNAME"} =
+ # Keep the Full Name, first ,-field.
+ (split /,/, (getpwnam $ENV{"USER"})[6])[0];
print STDERR "Warning: FULLNAME not set, using " .
$params{"FULLNAME"} .
" instead.\n";
}
Index: doc/lrdetools.texi
===================================================================
--- doc/lrdetools.texi (revision 96)
+++ doc/lrdetools.texi (working copy)
@@ -330,9 +330,9 @@
@node checkin
@section @command{checkin}
-@command{checkin} is a Perl script designed to work conjointly with CVS,
-PRCS or Subversion. When launched, it produces diffs from the server
-and creates a @file{ChangeLog} entry with each modified file. It then
+@command{checkin} is designed to work conjointly with CVS, PRCS or
+Subversion. When launched, it produces diffs from the server and
+creates a @file{ChangeLog} entry with each modified file. It then
launches your favorite text editor on the diff file and the
@file{ChangeLog}, to allow you complete it. Once you have finished, it
proposes you to write a particular comment. Then the checkin (or
@@ -432,9 +432,9 @@
@node Using checkin
@subsection Using @command{checkin}
-@command{checkin} always start by doing a checkout or an update onto
-the repository unless you told him explicitly not to do so. This
-avoid dummy mistakes.
+@command{checkin} always start by doing a checkout or an update onto the
+repository unless you told him explicitly not to do so. This avoid dummy
+mistakes.
@command{checkin} generates the following files:
Show replies by date