https://bz.mercurial-scm.org/show_bug.cgi?id=5574

            Bug ID: 5574
           Summary: keyword extension not compatible with large file
                    extension (missing from store at push)
           Product: Mercurial
           Version: 4.1.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: keyword
          Assignee: bugzi...@mercurial-scm.org
          Reporter: arnaud....@gemalto.com
                CC: blacktr...@gmx.net, mercurial-devel@mercurial-scm.org

I've already seen https://bz.mercurial-scm.org/show_bug.cgi?id=3550 but this
bug is not resolved, just archived.
More related to https://bz.mercurial-scm.org/show_bug.cgi?id=3119 but not
really the same.

Description and how to easily reproduce it:
mercurial.ini file:
[extensions]
keyword =
largefiles =

[keyword]
**.c =

[keywordmaps]
Author = {author|user}
Date = {date|utcdate}
Revision = {node|short}
Source = {file},v

[largefiles]
usercache = C:/hg/largefiles
minsize = 10

I've cloned a repo from my server.
I create the file file_header.c in my working dir containing:
/*
 * @file          $Source$
 * @version       $Revision$
 * @date          $Date$
 * @modifiedby    $Author$
 */
blablabla

% hg add --large file_hearder.c
[command completed successfully Mon May 22 16:40:11 2017]
% hg commit -m "Added file_header.c as largefile"
[command completed successfully Mon May 22 16:41:38 2017]

% ls c:/hg/largefiles
Folder is empty. NO large files created at the commit! => WHY?

% ls .hg/largefiles/
No file created here too => WHY?

% hg push https://my.server.com/hg/testagt
pushing to https://my.server.com/hg/testagt
searching for changes
uploading largefiles 0  files 1abort: largefile
221156b274d39b40695e7491e0f310c291e9bb67 missing from store (needs to be
uploaded)
[command returned code 255 Mon May 22 16:42:06 2017]

If I remove keyword extension from mercurial.ini, the LF is created at the
commit and the push is OK.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to