Package: fai-client
Version: 4.0.8~deb7u1
Severity: normal
Tags: patch

Dear Maintainer,

"hg pull" does not update the working copy to the lastest revision of
the current branch; it's necessary to add the "-u" option.  Another
possibility would be to execute "hg update" after "hg pull".


Best Regards
Andreas Korsten


--- /usr/lib/fai/get-config-dir-hg      2013-09-23 09:54:51.000000000 +0200
+++ get-config-dir-hg   2013-11-12 21:24:08.292415347 +0100
@@ -34,7 +34,7 @@
    #TODO: check whether the checkout is from $hgurl
    echo "Updating hg copy in $FAI"
    cd $FAI
-   hg pull
+   hg pull -u
    task_error 881 $?
 else
    echo "Checking out from hg"


-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fai-client depends on:
ii  file             5.11-2
ii  iproute          20120521-3+b3
ii  libapt-pkg-perl  0.1.26+b1
ii  perl             5.14.2-21+deb7u1

Versions of packages fai-client recommends:
ii  debconf-utils  1.5.49
ii  libgraph-perl  1:0.91-1

Versions of packages fai-client suggests:
pn  logtail  <none>

-- Configuration Files:
/etc/fai/fai.conf changed [not included]

-- no debconf information
--- /usr/lib/fai/get-config-dir-hg	2013-09-23 09:54:51.000000000 +0200
+++ get-config-dir-hg	2013-11-12 21:24:08.292415347 +0100
@@ -34,7 +34,7 @@
    #TODO: check whether the checkout is from $hgurl
    echo "Updating hg copy in $FAI"
    cd $FAI
-   hg pull
+   hg pull -u
    task_error 881 $?
 else
    echo "Checking out from hg"
--- /usr/lib/fai/get-config-dir-hg	2013-09-23 09:54:51.000000000 +0200
+++ get-config-dir-hg	2013-11-12 21:24:08.292415347 +0100
@@ -34,7 +34,7 @@
    #TODO: check whether the checkout is from $hgurl
    echo "Updating hg copy in $FAI"
    cd $FAI
-   hg pull
+   hg pull -u
    task_error 881 $?
 else
    echo "Checking out from hg"

Reply via email to