##// END OF EJS Templates
path: directly use the push_variant in `infinitepush`...
marmoute -
r50599:a7985c82 default
parent child Browse files
Show More
@@ -849,7 +849,7 b' def _push(orig, ui, repo, *dests, **opts'
849 raise error.Abort(msg)
849 raise error.Abort(msg)
850
850
851 path = paths[0]
851 path = paths[0]
852 destpath = path.pushloc or path.loc
852 destpath = path.loc
853 # Remote scratch bookmarks will be deleted because remotenames doesn't
853 # Remote scratch bookmarks will be deleted because remotenames doesn't
854 # know about them. Let's save it before push and restore after
854 # know about them. Let's save it before push and restore after
855 remotescratchbookmarks = _readscratchremotebookmarks(ui, repo, destpath)
855 remotescratchbookmarks = _readscratchremotebookmarks(ui, repo, destpath)
General Comments 0
You need to be logged in to leave comments. Login now