Vadim Gelfer
b365694c04
fetch: hold lock and wlock across all operations
2006-08-08 17:08:59 -07:00
Vadim Gelfer
fa92533acd
fetch: lock repo across pull and commit
2006-08-08 16:40:08 -07:00
Vadim Gelfer
03412632fc
fetch: drop commands.doupdate
2006-08-08 16:37:41 -07:00
Vadim Gelfer
9b3aa8dfc1
fetch: fix breakage from mpm.
...
add test so will not break again.
2006-08-08 16:09:26 -07:00
Matt Mackall
de047b03ce
Introduce update helper functions: update, merge, clean, and revert
2006-08-07 22:54:33 -05:00
Matt Mackall
5d20f724f3
Fix extensions for merge change
2006-08-07 17:26:09 -05:00
Vadim Gelfer
f653b6c12f
fetch: add missing import.
2006-08-07 19:08:55 -07:00
Vadim Gelfer
4068ec9129
fetch: do not fetch if working dir modified
2006-08-07 17:33:14 -07:00
Vadim Gelfer
d90021dfb5
new extension: fetch -> combine pull and merge/update
...
pull changes from remote repo.
if changes add new head: merge with new head, commit result.
else: update working dir to new head.
this makes useful command like git 'pull' command.
2006-08-07 17:27:38 -07:00