sapling/hgext/largefiles
FUJIWARA Katsunori b72ba540fe largefiles: update largefiles even if transplant is aborted by conflict
Before this patch, largefiles in the working directory aren't updated
correctly, if transplant is aborted by conflict. This prevents users
from viewing appropriate largefiles while resolving conflicts.

While transplant, largefiles in the working directory are updated only
at successful committing in the special code path of
"lfilesrepo.commit()".

To update largefiles even if transplant is aborted by conflict, this
patch wraps "scmutil.marktouched", which is invoked from "patch.patch"
with "files" list of added/modified/deleted files.

This patch invokes "updatelfiles" with:

  - "printmessage=False", to suppress "getting changed largefiles ..."
    messages while automated committing by transplant

  - "normallookup=True", because "patch.patch" doesn't update dirstate
    for modified files

    in such case, "normallookup=False" may cause marking modified
    largefiles as "clean" unexpectedly
2014-08-24 23:47:26 +09:00
..
__init__.py largefiles: define norepo in command decorator 2014-05-04 21:11:15 -07:00
basestore.py largefiles: hide passwords in URLs in ui messages 2013-10-17 16:13:15 +08:00
CONTRIBUTORS hgext: add largefiles extension 2011-09-24 17:35:45 +02:00
lfcommands.py largefiles: update lfdirstate for unchanged largefiles during linear merging 2014-08-15 20:28:51 +09:00
lfutil.py largefiles: factor out synchronization of lfdirstate for future use 2014-08-11 22:29:43 +09:00
localstore.py largefiles: don't close the fd passed to store._getfile 2013-04-15 23:47:04 +02:00
overrides.py largefiles: update largefiles even if transplant is aborted by conflict 2014-08-24 23:47:26 +09:00
proto.py largefiles: import whole modules instead of importing parts of them 2014-04-08 00:48:36 +02:00
remotestore.py largefiles: import whole modules instead of importing parts of them 2014-04-08 00:48:36 +02:00
reposetup.py largefiles: synchronize lfdirstate with dirstate after automated committing 2014-08-11 22:29:43 +09:00
uisetup.py largefiles: update largefiles even if transplant is aborted by conflict 2014-08-24 23:47:26 +09:00
wirestore.py largefiles: stat all largefiles in one batch before downloading 2013-04-15 23:37:43 +02:00