push when nothing changed
Aaron Bentley
aaron.bentley at utoronto.ca
Tue Dec 5 17:02:02 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel wrote:
> 1) "if remote.last_revision() == local.last_revision()" => nothing to do
I think that would be a nice tweak.
> It may be that the fetch() code isn't paying attention to push versus
> pull, and is assuming that one side is local, and it is cheap to get the
> information for that side.
Quite likely. Pull came first, and the API naming encourages one to
think of the source as the local repository.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFdaYK0F+nu1YWqI0RApBVAJ4t8dtcg/POlwOEk1cZgWNgKXjRbACfZdEr
AvcMpcIELf6sAogByrZtw4w=
=mM5y
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list