D1607: remotenames: rename related file and storage dir to logexchange
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa29fe459fc49: remotenames: rename related file and storage dir to logexchange (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1607?vs=4289=4290 REVISION DETAIL https://phab.mercurial-scm.org/D1607 AFFECTED FILES mercurial/exchange.py mercurial/hg.py mercurial/logexchange.py mercurial/remotenames.py tests/test-logexchange.t tests/test-remotenames.t CHANGE DETAILS diff --git a/tests/test-remotenames.t b/tests/test-logexchange.t rename from tests/test-remotenames.t rename to tests/test-logexchange.t --- a/tests/test-remotenames.t +++ b/tests/test-logexchange.t @@ -54,13 +54,13 @@ 8 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd client - $ cat .hg/remotenames/bookmarks + $ cat .hg/logexchange/bookmarks 0 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server\x00bar (esc) 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server\x00foo (esc) - $ cat .hg/remotenames/branches + $ cat .hg/logexchange/branches 0 ec2426147f0e39dbc9cef599b066be6035ce691d\x00file:$TESTTMP/server\x00default (esc) @@ -91,15 +91,15 @@ pulling from ../server2/ searching for changes no changes found - $ cat .hg/remotenames/bookmarks + $ cat .hg/logexchange/bookmarks 0 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server\x00foo (esc) 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server\x00bar (esc) 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server2\x00bar (esc) 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server2\x00foo (esc) - $ cat .hg/remotenames/branches + $ cat .hg/logexchange/branches 0 3e1487808078543b0af6d10dadf5d46943578db0\x00file:$TESTTMP/server\x00wat (esc) diff --git a/mercurial/remotenames.py b/mercurial/logexchange.py rename from mercurial/remotenames.py rename to mercurial/logexchange.py --- a/mercurial/remotenames.py +++ b/mercurial/logexchange.py @@ -1,4 +1,4 @@ -# remotenames.py +# logexchange.py # # Copyright 2017 Augie Fackler# Copyright 2017 Sean Farley @@ -15,11 +15,11 @@ ) # directory name in .hg/ in which remotenames files will be present -remotenamedir = 'remotenames' +remotenamedir = 'logexchange' def readremotenamefile(repo, filename): """ -reads a file from .hg/remotenames/ directory and yields it's content +reads a file from .hg/logexchange/ directory and yields it's content filename: the file to be read yield a tuple (node, remotepath, name) """ @@ -46,7 +46,7 @@ def readremotenames(repo): """ -read the details about the remotenames stored in .hg/remotenames/ and +read the details about the remotenames stored in .hg/logexchange/ and yields a tuple (node, remotepath, name). It does not yields information about whether an entry yielded is branch or bookmark. To get that information, call the respective functions. @@ -83,7 +83,7 @@ def saveremotenames(repo, remotepath, branches=None, bookmarks=None): """ save remotenames i.e. remotebookmarks and remotebranches in their -respective files under ".hg/remotenames/" directory. +respective files under ".hg/logexchange/" directory. """ wlock = repo.wlock() try: diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -28,10 +28,10 @@ httppeer, localrepo, lock, +logexchange, merge as mergemod, node, phases, -remotenames, repoview, scmutil, sshpeer, @@ -691,7 +691,7 @@ destrepo.ui.setconfig('paths', 'default', defaulturl, 'clone') if ui.configbool('experimental', 'remotenames'): -remotenames.pullremotenames(destrepo, srcpeer) +logexchange.pullremotenames(destrepo, srcpeer) if update: if update is not True: diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -24,11 +24,11 @@ discovery, error, lock as lockmod, +logexchange, obsolete, phases, pushkey, pycompat, -remotenames, scmutil, sslutil, streamclone, @@ -1366,7 +1366,7 @@ # storing remotenames if repo.ui.configbool('experimental', 'remotenames'): -remotenames.pullremotenames(repo, remote) +logexchange.pullremotenames(repo, remote) return pullop To: pulkit, #hg-reviewers, krbullock Cc: krbullock, durin42, smf, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D1607: remotenames: rename related file and storage dir to logexchange
pulkit updated this revision to Diff 4289. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1607?vs=4162=4289 REVISION DETAIL https://phab.mercurial-scm.org/D1607 AFFECTED FILES mercurial/exchange.py mercurial/hg.py mercurial/logexchange.py mercurial/remotenames.py tests/test-logexchange.t tests/test-remotenames.t CHANGE DETAILS diff --git a/tests/test-remotenames.t b/tests/test-logexchange.t rename from tests/test-remotenames.t rename to tests/test-logexchange.t --- a/tests/test-remotenames.t +++ b/tests/test-logexchange.t @@ -54,13 +54,13 @@ 8 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd client - $ cat .hg/remotenames/bookmarks + $ cat .hg/logexchange/bookmarks 0 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server\x00bar (esc) 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server\x00foo (esc) - $ cat .hg/remotenames/branches + $ cat .hg/logexchange/branches 0 ec2426147f0e39dbc9cef599b066be6035ce691d\x00file:$TESTTMP/server\x00default (esc) @@ -91,15 +91,15 @@ pulling from ../server2/ searching for changes no changes found - $ cat .hg/remotenames/bookmarks + $ cat .hg/logexchange/bookmarks 0 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server\x00foo (esc) 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server\x00bar (esc) 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server2\x00bar (esc) 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server2\x00foo (esc) - $ cat .hg/remotenames/branches + $ cat .hg/logexchange/branches 0 3e1487808078543b0af6d10dadf5d46943578db0\x00file:$TESTTMP/server\x00wat (esc) diff --git a/mercurial/remotenames.py b/mercurial/logexchange.py rename from mercurial/remotenames.py rename to mercurial/logexchange.py --- a/mercurial/remotenames.py +++ b/mercurial/logexchange.py @@ -1,4 +1,4 @@ -# remotenames.py +# logexchange.py # # Copyright 2017 Augie Fackler# Copyright 2017 Sean Farley @@ -15,11 +15,11 @@ ) # directory name in .hg/ in which remotenames files will be present -remotenamedir = 'remotenames' +remotenamedir = 'logexchange' def readremotenamefile(repo, filename): """ -reads a file from .hg/remotenames/ directory and yields it's content +reads a file from .hg/logexchange/ directory and yields it's content filename: the file to be read yield a tuple (node, remotepath, name) """ @@ -46,7 +46,7 @@ def readremotenames(repo): """ -read the details about the remotenames stored in .hg/remotenames/ and +read the details about the remotenames stored in .hg/logexchange/ and yields a tuple (node, remotepath, name). It does not yields information about whether an entry yielded is branch or bookmark. To get that information, call the respective functions. @@ -83,7 +83,7 @@ def saveremotenames(repo, remotepath, branches=None, bookmarks=None): """ save remotenames i.e. remotebookmarks and remotebranches in their -respective files under ".hg/remotenames/" directory. +respective files under ".hg/logexchange/" directory. """ wlock = repo.wlock() try: diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -28,10 +28,10 @@ httppeer, localrepo, lock, +logexchange, merge as mergemod, node, phases, -remotenames, repoview, scmutil, sshpeer, @@ -691,7 +691,7 @@ destrepo.ui.setconfig('paths', 'default', defaulturl, 'clone') if ui.configbool('experimental', 'remotenames'): -remotenames.pullremotenames(destrepo, srcpeer) +logexchange.pullremotenames(destrepo, srcpeer) if update: if update is not True: diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -24,11 +24,11 @@ discovery, error, lock as lockmod, +logexchange, obsolete, phases, pushkey, pycompat, -remotenames, scmutil, sslutil, streamclone, @@ -1366,7 +1366,7 @@ # storing remotenames if repo.ui.configbool('experimental', 'remotenames'): -remotenames.pullremotenames(repo, remote) +logexchange.pullremotenames(repo, remote) return pullop To: pulkit, #hg-reviewers, krbullock Cc: krbullock, durin42, smf, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D1607: remotenames: rename related file and storage dir to logexchange
krbullock requested changes to this revision. krbullock added a comment. This revision now requires changes to proceed. This doesn't apply cleanly. Can you rebase? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1607 To: pulkit, #hg-reviewers, krbullock Cc: krbullock, durin42, smf, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
Re: D1607: remotenames: rename related file and storage dir to logexchange
pulkit (Pulkit Goyal)writes: > pulkit updated this revision to Diff 4162. > pulkit edited the summary of this revision. > pulkit retitled this revision from "remotenames: rename the file to > logexchange" to "remotenames: rename related file and storage dir to > logexchange". This is better than before. Though, I'm still opposed to skipping hgext/. signature.asc Description: PGP signature ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D1607: remotenames: rename related file and storage dir to logexchange
pulkit updated this revision to Diff 4162. pulkit edited the summary of this revision. pulkit retitled this revision from "remotenames: rename the file to logexchange" to "remotenames: rename related file and storage dir to logexchange". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1607?vs=4157=4162 REVISION DETAIL https://phab.mercurial-scm.org/D1607 AFFECTED FILES mercurial/exchange.py mercurial/logexchange.py mercurial/remotenames.py tests/test-logexchange.t tests/test-remotenames.t CHANGE DETAILS diff --git a/tests/test-remotenames.t b/tests/test-logexchange.t rename from tests/test-remotenames.t rename to tests/test-logexchange.t --- a/tests/test-remotenames.t +++ b/tests/test-logexchange.t @@ -62,13 +62,13 @@ new changesets 18d04c59bb5d:3e1487808078 (run 'hg heads' to see heads) - $ cat .hg/remotenames/bookmarks + $ cat .hg/logexchange/bookmarks 0 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server\x00bar (esc) 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server\x00foo (esc) - $ cat .hg/remotenames/branches + $ cat .hg/logexchange/branches 0 ec2426147f0e39dbc9cef599b066be6035ce691d\x00file:$TESTTMP/server\x00default (esc) @@ -99,15 +99,15 @@ pulling from ../server2/ searching for changes no changes found - $ cat .hg/remotenames/bookmarks + $ cat .hg/logexchange/bookmarks 0 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server\x00foo (esc) 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server\x00bar (esc) 87d6d66763085b629e6d7ed56778c79827273022\x00file:$TESTTMP/server2\x00bar (esc) 62615734edd52f06b6fb9c2beb429e4fe30d57b8\x00file:$TESTTMP/server2\x00foo (esc) - $ cat .hg/remotenames/branches + $ cat .hg/logexchange/branches 0 3e1487808078543b0af6d10dadf5d46943578db0\x00file:$TESTTMP/server\x00wat (esc) diff --git a/mercurial/remotenames.py b/mercurial/logexchange.py rename from mercurial/remotenames.py rename to mercurial/logexchange.py --- a/mercurial/remotenames.py +++ b/mercurial/logexchange.py @@ -1,4 +1,4 @@ -# remotenames.py +# logexchange.py # # Copyright 2017 Augie Fackler# Copyright 2017 Sean Farley @@ -15,11 +15,11 @@ ) # directory name in .hg/ in which remotenames files will be present -remotenamedir = 'remotenames' +remotenamedir = 'logexchange' def readremotenamefile(repo, filename): """ -reads a file from .hg/remotenames/ directory and yields it's content +reads a file from .hg/logexchange/ directory and yields it's content filename: the file to be read yield a tuple (node, remotepath, name) """ @@ -46,7 +46,7 @@ def readremotenames(repo): """ -read the details about the remotenames stored in .hg/remotenames/ and +read the details about the remotenames stored in .hg/logexchange/ and yields a tuple (node, remotepath, name). It does not yields information about whether an entry yielded is branch or bookmark. To get that information, call the respective functions. @@ -83,7 +83,7 @@ def saveremotenames(repo, remotepath, branches=None, bookmarks=None): """ save remotenames i.e. remotebookmarks and remotebranches in their -respective files under ".hg/remotenames/" directory. +respective files under ".hg/logexchange/" directory. """ wlock = repo.wlock() try: diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -23,11 +23,11 @@ discovery, error, lock as lockmod, +logexchange, obsolete, phases, pushkey, pycompat, -remotenames, scmutil, sslutil, streamclone, @@ -1307,7 +1307,7 @@ # storing remotenames if repo.ui.configbool('experimental', 'remotenames'): -remotenames.pullremotenames(repo, remote) +logexchange.pullremotenames(repo, remote) return pullop To: pulkit, #hg-reviewers Cc: durin42, smf, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel