Differences between revisions 41 and 42
Revision 41 as of 2011-09-15 18:01:43
Size: 6481
Editor: dslb-188-097-069-228
Comment: sohbet, chat, chat sohbet
Revision 42 as of 2011-09-15 18:49:55
Size: 7661
Editor: 78-72-71-194-no33
Comment: revert spam entry
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
'''This extension was distributed with Mercurial versions prior to 1.8.'''
Line 5: Line 6:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>GevezeChat | Chat, Sohbet, Chat odaları</title>
<meta name="keywords" content="gevezechat, chat, sohbet, chat odaları, chat sohbet, chat odası, sohbet chat, sohbet odası, sohbet odaları">
<meta name="description" content="GevezeChat - Chat, Sohbet, Chat odaları, Chat Sohbet Aramalari icin Hizmet Veren Türkiyenin En iyi Chat Sitesidir">
<META http-equiv="Content-Type" content="text/html; charset=windows-1254">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META http-equiv="content-language" content="TR">
<meta name="googlebot" CONTENT="index, follow">
<meta name="robots" content="all">
<Meta name="robots" CONTENT="index, follow">
<meta name="CONTENT-LANGUAGE" content="TR">
<meta name="abstract" CONTENT="GevezeChat - Chat, Sohbet, Chat odaları, Chat Sohbet Aramalari icin Hizmet Veren Türkiyenin En iyi Chat Sitesidir.">
<meta name="IDENTIFIER-URL" content="http://www.gevezechat.net" /><meta name="google-site-verification" content="eval0L4DFCZ4ZrQoJxOvZDJDjTnZrrjqc0vvnuxZ8-A" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
 
  <div id="topheader">
    <div class="logo"></div>
    <div class="menu_area"><a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.gevezechat.net'); return false;" class="links">Giriş Sayfası Yap <span class="menu_text">Sitemize en hızlı girişi yapmak için tıklayın...</span></a> <a class="info" href="javascript:window.external.AddFavorite('http://www.GevezeChat.NeT','Sohbet Et')">Favori Ekle <span class="menu_text">Sohbet etmek size bir tık kadar yakın...</span></a><a href="mailto:uCuK@Live.Com" class="works">İletişim <span class="menu_text">Bize ulaşmanın en hızlı yolu ...</span></a></div>
  </div>
  <div id="search_strip">
    <div class="freeregistration">
      <div class="registration"><a href="http://www.gevezechat.net/mirc.exe" class="free">İndir</a> Ücretsiz Sohbet <br /> Programı </div>
    </div>
  </div>
  <div id="body_area">
    <div class="left">
        <div align="right">
          <a href="http://www.gevezechat.net/chat.php" class="left_menu">Chat</a><br />
    <a href="http://www.gevezechat.net/sohbet.html" class="left_menu">Sohbet</a><br />
    <a href="http://www.gevezechat.net/chat-odalari.html" class="left_menu">Chat Odaları</a><br />
    <a href="http://www.gevezechat.net/sohbet-odalari.html" class="left_menu">Sohbet Odaları</a><br />
          <a href="http://www.gevezechat.net/deutschland-chat.html" class="left_menu">Deutschland Chat</a><br />
    <a href="http://www.gevezechat.net/chat-sohbet.html" class="left_menu">Chat Sohbet</a><br />
          <a href="http://www.gevezechat.net/mirc.html" class="left_menu">mIRC</a><br />
          <a href="http://www.gevezechat.net/radyo-dinle.html" class="left_menu">Radyo Dinle</a>
    </div>
    </div>
    <div class="midarea">
      <div class="body_sohbet">
        <div align="justify">
<div style="height:145px; width:450px;">
<div style="padding:160px 0px 0px 200px;">
 
<form action="http://www.gevezechat.net/chat.php" method="post">
<div style="margin:0px 0px 5px 20px;"><br />
<input type="text" size="18" name="nick" style="color: #3C035A; border: 1px solid #3C035A; ; font-weight:bold; font-size:12pt" class="keyword" value="Nick" onblur="this.value=(this.value=='') ? 'Nick' : this.value;" onfocus="this.value=(this.value=='Nick') ? 'Nick' : this.value;" />
</div>
<div style="margin:0px 0px 0px 20px;">
<input type="password" size="18" name="sifre" style="color: #3C035A; border: 1px solid #3C035A; ; font-weight:bold; font-size:12pt" class="keyword" value="**********" onblur="this.value=(this.value=='') ? '**********' : this.value;" onfocus="this.value=(this.value=='**********') ? '' : this.value;" />
</div>
<div style="margin:20px 0px -10px -30px;">
<input type="image" src="http://www.gevezechat.net/images/sohbetbasla.gif" alt="sohbete basla" name="submit" style="text-align: center; font-size:12pt; font-family:Tahoma" class="ph3" width="261" height="48" />
</div>
</form>
</div>
</div>
        </div>
   <div class="innerbanner">
        <span class="innerbanner_head">Sohbet etmek</span><br />
        <span class="innerbanner_head">Güzel zaman geçirmek</span><br />
        <span class="innerbanner_head">Oyun oynamak</span><br />
        <span class="innerbanner_head">Yeni insanlarla tanışmak</span><br />
        <span class="innerbanner_head">Arkadaşlıklar kurmak</span><br />
  <span class="innerbanner_head">Radyo dinlemek</span><br />
  <br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Farkımız tarzımızdır...<br />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hayırlı Sohbetler...<br />
  </div>
        </div>
    </div>
  </div>
  <div id="fotter">
    <div class="fotter_links">
      <div align="center"><a href="http://www.gevezechat.net" class="fotterlink">Chat</a> | <a href="http://www.gevezechat.net" class="fotterlink">Sohbet</a> | <a href="http://www.gevezechat.net" class="fotterlink">Chat Odaları</a> | <a href="http://www.gevezechat.net" class="fotterlink">Sohbet Odaları</a> | <a href="http://www.gevezechat.net" class="fotterlink">Deutschland Chat</a> | <a href="http://www.gevezechat.net" class="fotterlink">Chat Sohbet</a> | <a href="http://www.gevezechat.net" class="fotterlink">mIRC</a> | <a href="http://www.girgirci.com" title="Çet, Cet" target="_blank" class="fotterlink">çet</a> | <a href="http://www.gevezechat.net" class="fotterlink">Radyo Dinle</a> | <a href="http://blog.gevezechat.net" class="fotterlink">Haber Blogu</a></div>
    </div>
    <div class="fotter_copyrights">
      <div align="center">&copy; GevezeChat.NetT Bütün hakları saklıdır.</div>
    </div>
    <div class="fotter_designed">
      <div align="center">Gevezechat.net : <a href="http://www.gevezechat.net/" class="fotter_designedlink">Chat</a></div>
    </div>
  </div>
 
</body>
</html>
{i} Since version [[WhatsNew#Mercurial 1.8 (2011-03-01)|1.8]] ([[Cset:d4ab9486e514]]) the bookmark command is part of core. The track.current option was removed and the behavior of track.current=True is now the default behavior of bookmarks.

''Author: DavidSoria''

Additional information, also for people coming from Git: [[http://blog.experimentalworks.net/2008/11/mercurial-bookmarks/|bookmarks extension explained]].

=== Overview ===
Bookmarks are references to commits that are automatically updated when new commits are made. If you do `hg bookmark feature` the `feature` bookmark refers to the current changeset. As you work and commit changes the bookmark will move forward with every commit you do. The bookmark will always point to the latest revision in your line of work. Since bookmarks are automatically updated when committing to the changeset they are pointing to, they are especially useful to keep track of different heads. They can therefore be used for trying out new features or pulling changes that have yet to be reviewed. Bookmarks can be used to access the commit whenever a usual lookup is allowed (wherever a command takes `-r revision`, `revision` can be a bookmark name), therefore you can merge and update bookmarks by their names.

If the new features don't work out, development can be re-started from an old changeset. Note however that while bookmarks can be deleted using `hg book -d feature`, but this merely removes the bookmark `feature`, not the changes it points to. The unwanted changes will remain in the repository. The bookmarked head can be stripped (using `hg strip`, supplied with the [[MqExtension|mq extension]]).

Bookmarks are stored in a file called ''`.hg/bookmarks`''. They are not part of committed changes, which means that prior to Mercurial 1.6 they are local to their repository, with no builtin way to share them between repositories. You can use `rsync` or `scp` to copy the ''`.hg/bookmarks`'' file to a remote repository, or you can use `hg id -r <bookmark> <repourl>` to get the id of a bookmark and track it manually (though this is tedious). From Mercurial 1.6 and on bookmarks can be shared between repositories as described below under "[[#Working_With_Remote_Repositories|working with remote repositories]]".

=== Configuration ===
Configure your `.hgrc` to enable the extension by adding following lines:

{{{
[extensions]
bookmarks =
}}}
By default, when several bookmarks point to the same changeset, they will all move forward together. It is possible to obtain a more Git-like experience by adding the following configuration option to your `.hgrc`

{{{
[bookmarks]
track.current = True
}}}
This will cause Mercurial to only track and update the currently active bookmark. This is similar to Git's approach to branching.

=== Usage ===
Let’s give you a short example how bookmarks work.

Start with an existing Mercurial repository. For the example we will use the [[http://mercurial.selenic.com/hg/hg|main repository for Mercurial itself]]. Let’s start with a basic listing of available bookmarks:

{{{
 $ hg bookmarks
 no bookmarks set
}}}
Create a bookmark on the current tip of the repository. This isn't a bookmark we're going to work on, instead it's meant to reference where tip was on the server-side repository when we started, a baseline for our work. Notice how the current bookmark is preceded by "`*`".

{{{
 $ hg bookmark my-tip
 $ hg bookmarks
   * my-tip 7348:1a5c9ca2bfd5
}}}
Create a bookmark on another revision in the history. This is a bookmark we'll actually do work on. Note that creating a new bookmark does ''not'' create a new head.

{{{
 $ hg bookmark -r 7300 hgweb-fix
 $ hg bookmarks
   * my-tip 7348:1a5c9ca2bfd5
     hgweb-fix 7300:591767e6ea7a
 $ hg heads -q
 7348:1a5c9ca2bfd5
}}}
We can then update to the bookmark we want to work on.

{{{
 $ hg update hgweb-fix
 82 files updated, 0 files merged, 31 files removed, 0 files unresolved
 $ hg bookmarks
      my-tip 7348:1a5c9ca2bfd5
   * hgweb-fix 7300:591767e6ea7a
}}}
If we commit at this point in the graph we'll create a new head. Note how the bookmark follows along, continuing to point to our working head.

{{{
 ...hack...hack...
 $ hg commit -m ’Another hgweb bugfix’
 $ hg bookmarks
      my-tip 7348:1a5c9ca2bfd5
   * hgweb-fix 7349:ca3fbad32554
 $ hg heads -q
 7349:ca3fbad32554
 7348:1a5c9ca2bfd5
}}}
If we go back to the bookmarked tip we can merge our change into it. Note that the merge doesn't get rid of either bookmark. Note also how only `my-tip` has moved forward with the merge changeset. `hgweb-fix` continues to point to the last work done while on that bookmark. This is because we've set `track.current` in our ''`.hgrc`''.

{{{
 $ hg update -C my-tip
 $ hg merge hgweb-fix
 $ hg commit -m ’Merge hgweb-fix’
 $ hg bookmarks
   * my-tip 7350:4d3b1ced5c40
      hgweb-fix 7349:ca3fbad32554
 $ hg heads -q
 7350:4d3b1ced5c40
}}}
If we decide we want to continue working on our feature from the new tip, we can move the feature bookmark directly to match the tip. Note the need to use `-f` to force an existing bookmark to move.

{{{
 $ hg book -f hgweb-fix
 $ hg bookmarks
      my-tip 7350:4d3b1ced5c40
   * hgweb-fix 7350:4d3b1ced5c40
}}}
If we're done we can just delete our working bookmark. Note that this doesn't delete the changeset. This doesn't matter much if this is a line of work that gets merged (i.e. we decide to keep it), but it doesn't do everything we want for a branch we decide to discard.

{{{
 $ hg bookmark -d hgweb-fix
 $ hg bookmarks
   * my-tip 7350:3acda44343da
}}}
To actually delete the changeset as well requires the `mq` extension.

{{{
 $ hg tag -r hgweb-fix hgweb-fix-tag
 $ hg bookmark -d hgweb-fix
 $ hg strip hgweb-fix-tag
}}}
You can use bookmarks in every rev lookup. This means you can also do `hg log -prf my-tip:0` or `hg qimport -r my-tip`. It is even possible to look them up using `hg id -r`.

=== Working With Remote Repositories ===
Bookmarks in remote repositories are "visible" as identifier for pull, for instance with `hg pull -r web-fix`.

Starting with Mercurial 1.6, bookmarks can also be pushed and pulled between repositories. This naturally requires the bookmark extension to be enabled on both sides.

By default bookmarks that are already present on both the client and server are updated on the client on pull and updated on the server on push.

To start sharing a bookmark present on a server, use `hg pull -B bookmark` and the bookmark along with the relevant changesets will be pulled to the client.

To publish a local bookmark to a server, use `hg push -B bookmark` and the bookmark along with the relevant changesets will be pushed to the server. To delete a bookmark from a server, delete it locally first, then use push -B on the deleted name.

To check which bookmarks exist on the remote repository but not locally use `hg incoming -B`. Use `hg outgoing -B` to check which bookmarks exists locally but not yet on the remote repository.

/!\ Be aware that there is only one namespace for bookmarks - it is advised to prefix your local-only bookmarks to avoid conflicts with other users.
Line 95: Line 132:
CategoryWindows CategoryBundledExtension

Bookmarks Extension

This extension was distributed with Mercurial versions prior to 1.8.

{i} Since version 1.8 (d4ab9486e514) the bookmark command is part of core. The track.current option was removed and the behavior of track.current=True is now the default behavior of bookmarks.

Author: DavidSoria

Additional information, also for people coming from Git: bookmarks extension explained.

Overview

Bookmarks are references to commits that are automatically updated when new commits are made. If you do hg bookmark feature the feature bookmark refers to the current changeset. As you work and commit changes the bookmark will move forward with every commit you do. The bookmark will always point to the latest revision in your line of work. Since bookmarks are automatically updated when committing to the changeset they are pointing to, they are especially useful to keep track of different heads. They can therefore be used for trying out new features or pulling changes that have yet to be reviewed. Bookmarks can be used to access the commit whenever a usual lookup is allowed (wherever a command takes -r revision, revision can be a bookmark name), therefore you can merge and update bookmarks by their names.

If the new features don't work out, development can be re-started from an old changeset. Note however that while bookmarks can be deleted using hg book -d feature, but this merely removes the bookmark feature, not the changes it points to. The unwanted changes will remain in the repository. The bookmarked head can be stripped (using hg strip, supplied with the mq extension).

Bookmarks are stored in a file called .hg/bookmarks. They are not part of committed changes, which means that prior to Mercurial 1.6 they are local to their repository, with no builtin way to share them between repositories. You can use rsync or scp to copy the .hg/bookmarks file to a remote repository, or you can use hg id -r <bookmark> <repourl> to get the id of a bookmark and track it manually (though this is tedious). From Mercurial 1.6 and on bookmarks can be shared between repositories as described below under "working with remote repositories".

Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
bookmarks =

By default, when several bookmarks point to the same changeset, they will all move forward together. It is possible to obtain a more Git-like experience by adding the following configuration option to your .hgrc

[bookmarks]
track.current = True

This will cause Mercurial to only track and update the currently active bookmark. This is similar to Git's approach to branching.

Usage

Let’s give you a short example how bookmarks work.

Start with an existing Mercurial repository. For the example we will use the main repository for Mercurial itself. Let’s start with a basic listing of available bookmarks:

 $ hg bookmarks
 no bookmarks set

Create a bookmark on the current tip of the repository. This isn't a bookmark we're going to work on, instead it's meant to reference where tip was on the server-side repository when we started, a baseline for our work. Notice how the current bookmark is preceded by "*".

 $ hg bookmark my-tip
 $ hg bookmarks
   * my-tip                    7348:1a5c9ca2bfd5

Create a bookmark on another revision in the history. This is a bookmark we'll actually do work on. Note that creating a new bookmark does not create a new head.

 $ hg bookmark -r 7300 hgweb-fix
 $ hg bookmarks
   * my-tip                  7348:1a5c9ca2bfd5
     hgweb-fix               7300:591767e6ea7a
 $ hg heads -q
 7348:1a5c9ca2bfd5

We can then update to the bookmark we want to work on.

 $ hg update hgweb-fix
 82 files updated, 0 files merged, 31 files removed, 0 files unresolved
 $ hg bookmarks
      my-tip                  7348:1a5c9ca2bfd5
   *  hgweb-fix               7300:591767e6ea7a

If we commit at this point in the graph we'll create a new head. Note how the bookmark follows along, continuing to point to our working head.

 ...hack...hack...
 $ hg commit -m ’Another hgweb bugfix’
 $ hg bookmarks
      my-tip                  7348:1a5c9ca2bfd5
   *  hgweb-fix               7349:ca3fbad32554
 $ hg heads -q
 7349:ca3fbad32554
 7348:1a5c9ca2bfd5

If we go back to the bookmarked tip we can merge our change into it. Note that the merge doesn't get rid of either bookmark. Note also how only my-tip has moved forward with the merge changeset. hgweb-fix continues to point to the last work done while on that bookmark. This is because we've set track.current in our .hgrc.

 $ hg update -C my-tip
 $ hg merge hgweb-fix
 $ hg commit -m ’Merge hgweb-fix’
 $ hg bookmarks
   *  my-tip                  7350:4d3b1ced5c40
      hgweb-fix               7349:ca3fbad32554
 $ hg heads -q
 7350:4d3b1ced5c40

If we decide we want to continue working on our feature from the new tip, we can move the feature bookmark directly to match the tip. Note the need to use -f to force an existing bookmark to move.

 $ hg book -f hgweb-fix
 $ hg bookmarks
      my-tip                  7350:4d3b1ced5c40
   *  hgweb-fix               7350:4d3b1ced5c40

If we're done we can just delete our working bookmark. Note that this doesn't delete the changeset. This doesn't matter much if this is a line of work that gets merged (i.e. we decide to keep it), but it doesn't do everything we want for a branch we decide to discard.

 $ hg bookmark -d hgweb-fix
 $ hg bookmarks
   * my-tip                  7350:3acda44343da

To actually delete the changeset as well requires the mq extension.

 $ hg tag -r hgweb-fix hgweb-fix-tag
 $ hg bookmark -d hgweb-fix
 $ hg strip hgweb-fix-tag

You can use bookmarks in every rev lookup. This means you can also do hg log -prf my-tip:0 or hg qimport -r my-tip. It is even possible to look them up using hg id -r.

Working With Remote Repositories

Bookmarks in remote repositories are "visible" as identifier for pull, for instance with hg pull -r web-fix.

Starting with Mercurial 1.6, bookmarks can also be pushed and pulled between repositories. This naturally requires the bookmark extension to be enabled on both sides.

By default bookmarks that are already present on both the client and server are updated on the client on pull and updated on the server on push.

To start sharing a bookmark present on a server, use hg pull -B bookmark and the bookmark along with the relevant changesets will be pulled to the client.

To publish a local bookmark to a server, use hg push -B bookmark and the bookmark along with the relevant changesets will be pushed to the server. To delete a bookmark from a server, delete it locally first, then use push -B on the deleted name.

To check which bookmarks exist on the remote repository but not locally use hg incoming -B. Use hg outgoing -B to check which bookmarks exists locally but not yet on the remote repository.

/!\ Be aware that there is only one namespace for bookmarks - it is advised to prefix your local-only bookmarks to avoid conflicts with other users.


CategoryBundledExtension